Skip to content

Conversation

@arnauorriols
Copy link
Member

No description provided.

@arnauorriols
Copy link
Member Author

todo: output only body if not try

Comment on lines 24 to 29
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)
`;
Copy link
Member

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)

Copy link
Member Author

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.

Copy link
Member

@magurotuna magurotuna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@arnauorriols arnauorriols merged commit 6924f59 into main Feb 20, 2024
@arnauorriols arnauorriols deleted the api-subcommand branch February 20, 2024 09:31
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

Successfully merging this pull request may close these issues.

3 participants