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

Add --jq option to org sub command #646

Merged
merged 2 commits into from
May 28, 2024
Merged

Add --jq option to org sub command #646

merged 2 commits into from
May 28, 2024

Conversation

kmuto
Copy link
Member

@kmuto kmuto commented May 20, 2024

It would be helpful if mkr org subcommand has --jq option like other subcommands.

For example:

$ mkr org --jq '.name'
myorg
$ mkr org --jq '.displayName'
My Organization

Here is a patch to add --jq option to org subcommand and test code.

I referred the code of channels subcommand.

Usage: "Fetch organization",
Name: "org",
Usage: "Fetch organization",
ArgsUsage: "[--jq <formula>]",
Copy link
Member

Choose a reason for hiding this comment

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

nice

@kmuto kmuto merged commit 5c92a0d into master May 28, 2024
13 checks passed
@kmuto kmuto deleted the add-jq-to-org branch May 28, 2024 06:35
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.

2 participants