Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--help, and tr-push help don't work #329

Open
josephlewis42 opened this issue Jun 3, 2024 · 0 comments
Open

--help, and tr-push help don't work #329

josephlewis42 opened this issue Jun 3, 2024 · 0 comments

Comments

@josephlewis42
Copy link

What happened?

Trying to use --help or help returns a message that an API key must be provided.

$ tr-push --help
A Transcend API key must be provided. You can specify using --auth=$TRANSCEND_API_KEY
$ tr-push help
A Transcend API key must be provided. You can specify using --auth=$TRANSCEND_API_KEY

Worse, after supplying the argument the command immediately tries write data:

$ tr-push --auth=$TRANSCEND_API_KEY --help
Reading file "./transcend.yml"...
Successfully read in "./transcend.yml"
Fetching data with page size 50...
Syncing "XX" data categories...

What's expected?

  1. Help about the command, its options, and its inputs would be displayed.
  2. If unexpected arguments are supplied then the command would fail to run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant