Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit edcd0a0

Browse files
committed
Add usage examples
1 parent 487cead commit edcd0a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/cli/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ const program = sade('version-checker', true)
77

88
program
99
.version(version)
10+
.example('-o axelrindle -r github-version-checker -c 2.3.0')
11+
.example('-o axelrindle -r github-version-checker -c 2.3.0 --json')
12+
.example('-o axelrindle -r github-version-checker -c 2.3.0 --json --token gho_abcdef1234567890')
1013
.option('-o, --owner', 'The repository owner. May be a username or organization name.')
1114
.option('-r, --repository', 'The repository name.')
1215
.option('-c, --current-version', 'The current application version.')

0 commit comments

Comments
 (0)