civo / cli-rubygem

Command line interface for interacting with Civo's cloud API
https://www.civo.com
MIT License
15 stars 4 forks source link

Typo in apikey help #42

Closed AndrewCsoka closed 5 years ago

AndrewCsoka commented 5 years ago

I'm guessing the following list should use api_key rather than a_p_i_key?

$ civo apikey help
Commands:
  civo a_p_i_key add NAME KEY    # Add the API Key 'KEY' using a label of 'NAME'
  civo a_p_i_key current [NAME]  # Either return the name of the current API key or set the current key to b...
  civo a_p_i_key help [COMMAND]  # Describe subcommands or one specific subcommand
  civo a_p_i_key list            # List all stored API keys
  civo a_p_i_key remove NAME     # Remove the API Key with a label of 'NAME'
kaihoffman commented 5 years ago

Which version of the CLI are you using? That's really odd behaviour that I haven't encountered ever before, not since I wrote the APIKey command! For reference, my output on (current) 0.4.4 is:

$ civo apikey help
Commands:
  civo apikey add NAME KEY    # Add the API Key 'KEY' using a label of 'NAME'
  civo apikey current [NAME]  # Either return the name of the current API key or set the current key to be the one wi...
  civo apikey help [COMMAND]  # Describe subcommands or one specific subcommand
  civo apikey list            # List all stored API keys
  civo apikey remove NAME     # Remove the API Key with a label of 'NAME'
AndrewCsoka commented 5 years ago

Yeah I think it was an old version, but I don't have a record of what was previously installed. I've been on v0.4.2 for a while and I've checked again - the typo isn't present. Closing. Cheers