Skip to content

Commit

Permalink
document in one place
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Apr 29, 2021
1 parent e6c8fec commit ac42528
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/cml-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const argv = yargs
.default('token')
.describe(
'token',
'Personal access token to be used. If not specified in extracted from ENV REPO_TOKEN or GITLAB_TOKEN.'
'Personal access token to be used. If not specified, extracted from ENV REPO_TOKEN, GITLAB_TOKEN, GITHUB_TOKEN, or BITBUCKET_TOKEN.'
)
.default('driver')
.choices('driver', ['github', 'gitlab'])
Expand Down
2 changes: 1 addition & 1 deletion bin/cml-publish.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('CML e2e', () => {
--repo Specifies the repo to be used. If not specified is extracted
from the CI ENV.
--token Personal access token to be used. If not specified in
extracted from ENV REPO_TOKEN or GITLAB_TOKEN.
extracted from ENV REPO_TOKEN.
--driver If not specify it infers it from the ENV.
[choices: \\"github\\", \\"gitlab\\"]
-h Show help [boolean]"
Expand Down

0 comments on commit ac42528

Please sign in to comment.