File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,11 +13,19 @@ const commands = {
1313const help = `Usage: gh-app <command> [options]
1414
1515Commands:
16- token Generate an installation token
17- pull Pull a repo using a fresh token
18- clone Clone a repo using a fresh token
19- check-token Show token validity and expiry
20- list-repos List accessible repositories
16+ token Generate an installation token
17+ pull <owner/repo> [branch] Pull a repo using a fresh token
18+ clone <owner/repo> [directory] Clone a repo using a fresh token
19+ check-token Show token validity and expiry
20+ list-repos List accessible repositories
21+
22+ Examples:
23+ gh-app token
24+ export GITHUB_TOKEN=$(gh-app token 2>/dev/null)
25+ gh-app pull myorg/myrepo main
26+ gh-app clone myorg/myrepo ./local-dir
27+ gh-app check-token
28+ gh-app list-repos
2129
2230Options:
2331 -h, --help Show this help message
You can’t perform that action at this time.
0 commit comments