Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

Adding command checks for 'account' and 'cluster' commands #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Aug 19, 2019

before:

$ uhc account notacommand
$ 

after:

$ uhc account notacommand
INVALID COMMAND
Usage:
  uhc account COMMAND [flags]
  uhc account [command]

Available Commands:
  orgs        List organizations.
  quota       Retrieve cluster quota information.
  roles       Retrieve information of the different roles
  status      Status of current user.
  users       Retrieve users and their roles

Flags:
  -h, --help   help for account

Global Flags:
      --alsologtostderr                  log to standard error as well as files
      --debug                            Enable debug mode.
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                   If non-empty, write log files in this directory
      --logtostderr                      log to standard error instead of files (default true)
      --stderrthreshold severity         logs at or above this threshold go to stderr (default 2)
  -v, --v Level                          log level for V logs
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging

Use "uhc account [command] --help" for more information about a command.

@ghost ghost requested a review from jhernand August 19, 2019 17:09
@app-sre-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@ghost ghost force-pushed the command-exists-check branch from e23dbca to 38d7c0b Compare August 19, 2019 17:14
@ghost ghost force-pushed the command-exists-check branch from ee3ddd6 to 38c09ea Compare August 19, 2019 17:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant