-
Notifications
You must be signed in to change notification settings - Fork 65
feat: api subcommand #263
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
feat: api subcommand #263
Conversation
|
todo: output only body if not try |
| OPTIONS: | ||
| -h, --help Prints this help information | ||
| --method=<HTTP-METHOD> HTTP method to use (defaults to GET) | ||
| --body=<JSON> Body of the request. The provided string is sent as is to the API | ||
| --token=<TOKEN> The API token to use (defaults to auto-provisioned token) | ||
| `; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q: is it intentional to not mention api-version option here? (I suppose so, because most likely using versions other than v1 is not something users want to do)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, I don't want to give the false idea that v0 is intended for public use.
magurotuna
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
No description provided.