Skip to content

Commit

Permalink
update doc example for get oauth2-client
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysterling authored and alnr committed Jun 11, 2024
1 parent 29f053e commit a633664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cmd_get_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ func NewGetClientsCmd() *cobra.Command {
Args: cobra.MinimumNArgs(1),
Short: "Get one or more OAuth 2.0 Clients by their ID(s)",
Long: `This command gets all the details about an OAuth 2.0 Client. You can use this command in combination with jq.`,
Example: `To get the OAuth 2.0 Client's secret, run:
Example: `To get the OAuth 2.0 Client's name, run:
{{ .CommandPath }} <your-client-id> --format json | jq -r '.client_secret'`,
{{ .CommandPath }} <your-client-id> --format json | jq -r '.client_name'`,
RunE: func(cmd *cobra.Command, args []string) error {
m, _, err := cliclient.NewClient(cmd)
if err != nil {
Expand Down

0 comments on commit a633664

Please sign in to comment.