-
Notifications
You must be signed in to change notification settings - Fork 111
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
[APP-7004] Implement ListOAuthApplications CLI Command #4646
base: main
Are you sure you want to change the base?
[APP-7004] Implement ListOAuthApplications CLI Command #4646
Conversation
7147156
to
9c9948f
Compare
9c9948f
to
1af5323
Compare
1af5323
to
8e62805
Compare
8e62805
to
4dc0a89
Compare
cli/app.go
Outdated
@@ -465,6 +465,18 @@ var app = &cli.App{ | |||
}, | |||
}, | |||
}, | |||
{ | |||
Name: "list-oauth-apps", |
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.
do we want this to be the command? or should it be something like organization oauth list
so we can also have organization oauth create
etc.
would check scope and check with @maxhorowitz
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.
I used the existing delete
command (created by gloria) as an example to work of so it should be good now
cli/client.go
Outdated
OrgID string | ||
} | ||
|
||
// ListOAuthAppsAction corresponds to `list-oauth-apps`. |
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.
can you add tests in client_test too pls?
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.
Done
…ListOAuthApplications-CLI-Command
Description
See ticket here
Org with an auth app
Command
Output
Org without an auth app
Command
Output