fix(cli): cli arguments
All checks were successful
Build and Push Docker Image / tests (push) Successful in 1m50s
Build and Push Docker Image / build (push) Successful in 5m9s

This commit is contained in:
Lars Hampe 2024-11-02 19:58:04 +01:00
parent 3e67d18749
commit 37be3bc1f5

View File

@ -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)
})