fix(cli): cli arguments
This commit is contained in:
parent
3e67d18749
commit
37be3bc1f5
@ -12,8 +12,8 @@ const commit = program.command('commit').description('Commits')
|
||||
commit
|
||||
.command('upload')
|
||||
.description('Upload commit messages')
|
||||
.requiredOption('--changelogId', 'Changelog Id', ENV_CHANGELOG_ID)
|
||||
.requiredOption('--accessToken', 'Access Token', ENV_ACCESS_TOKEN)
|
||||
.requiredOption('--changelogId <id>', 'Changelog Id', ENV_CHANGELOG_ID)
|
||||
.requiredOption('--accessToken <string>', 'Access Token', ENV_ACCESS_TOKEN)
|
||||
.action((data) => {
|
||||
upload_commits(data as Arguments)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user