Feature #1353

Improve CLI commands

Added by Carlos Martín almost 9 years ago. Updated over 8 years ago.

Status:ClosedStart date:07/12/2012
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:-
Target version:Release 3.8
Resolution:fixed Pull request:

Description

This ticket will be used to link all the CLI tickets we already have opened into the "related issues" section.

Some other improvements we could make:
  • show help for each subcommand, for example oneimage disable -h
  • Add a '-n, --numeric' option to show group, cluster, datastore, etc numeric ID instead of Name
  • Add autocomplete on tab feature
  • Add colours to the state columns ( e.g. red for 'error', green for 'running')
  • Add new --user & --password options to replace the one_auth authorization credentials
  • Include the values accepted by each option in the help, e.g. in oneimage chtype add that the valid types are OS, DATABLOCK or CDROM

Related issues

Related to Bug #1301: onevm create accepts non-valid options Closed 05/31/2012
Related to Backlog #458: Check the file type when executing onevm create Closed 12/23/2010
Related to Feature #1167: Implement oneacl show Closed 03/14/2012
Related to Backlog #1216: oneuser passwd should not require to specify the auth driver Closed 04/09/2012
Related to Backlog #442: onevm delete * should delete all available virtual machines Closed 12/10/2010
Related to Backlog #861: Improve oneacl help Closed 10/04/2011
Related to Backlog #1138: Add extended information to some CLI commands Closed 02/21/2012
Related to Backlog #1143: Improved ONE CLI Range Commands Closed 02/26/2012
Related to Feature #1327: the CLI should support extended arguments Closed 07/03/2012
Related to Feature #1153: More helpful messages in CLI when arguments are missing Closed 03/02/2012
Related to Feature #1466: Show the meaning of each 'one* list' column in the help Closed 09/12/2012
Related to Feature #1568: Improve CLI commands: show help for each subcommand Closed 10/23/2012
Related to Backlog #1569: Improve CLI commands: Add autocomplete on tab feature New 10/23/2012
Related to Feature #1570: Improve CLI commands: Add new --user & --password options... Closed 10/23/2012
Related to Feature #1571: Improve CLI commands: Include the values accepted by each... Closed 10/23/2012

Associated revisions

Revision 147cf3c2
Added by Javi Fontan over 8 years ago

feature #1353: Add colours to the state columns

Revision b0e0f0de
Added by Javi Fontan over 8 years ago

feature #1353: bug in the state colour function

Revision 8337da96
Added by Javi Fontan over 8 years ago

feature #1353: state is only colored when using a tty

History

#1 Updated by Ruben S. Montero over 8 years ago

  • Assignee set to Javi Fontan

#2 Updated by Ruben S. Montero over 8 years ago

  • Status changed from New to Assigned

#3 Updated by Ruben S. Montero over 8 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Also available in: Atom PDF