Skip to content

reorder cli commands to be alphabetic ordered#294

Merged
kytrinyx merged 1 commit intoexercism:masterfrom
beanieboi:alphabetic-command-order
Feb 22, 2016
Merged

reorder cli commands to be alphabetic ordered#294
kytrinyx merged 1 commit intoexercism:masterfrom
beanieboi:alphabetic-command-order

Conversation

@beanieboi
Copy link
Contributor

hey all!

i had a hard time finding options in excercism --help this PR just reorders them alphabetically. for me personally this makes it way easier to skim the options and find the option i want.

i would no way to change the position of help it's at the end of the command list. which is fine for me.

this is how it looks like on my machine after the change.

$ ./out/test 
NAME:
   exercism - A command line tool to interact with http://exercism.io

USAGE:
   test [global options] command [command options] [arguments...]

VERSION:
   2.2.4

COMMANDS:
   configure    Writes config values to a JSON file.
   debug    Outputs useful debug information.
   download, dl Downloads a solution given the ID of the latest iteration.
   fetch, f Fetches the next unsubmitted problem in each track.
   list, li Lists the available problems for a language track, given its ID.
   open, op Opens exercism.io to your most recent iteration of a problem given the track ID and problem slug.
   restore, r   Downloads the most recent iteration for each of your solutions on exercism.io.
   skip     Skips a problem given a track ID and problem slug.
   status, st   Fetches information about your progress with a given language track.
   submit, s    Submits a new iteration to a problem on exercism.io.
   tracks, t    Lists the available language tracks.
   unsubmit, u  REMOVED
   upgrade  Upgrades the CLI to the latest released version.
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --config, -c     path to config file [$EXERCISM_CONFIG_FILE, $XDG_CONFIG_HOME]
   --verbose        turn on verbose logging
   --help, -h       show help
   --version, -v    print the version

what do you think?
thanks for exercism! :)

@kytrinyx
Copy link
Member

I think this is a great idea. I actually thought (but never verified) that it was ordered alphabetically by default. /shrug :)

kytrinyx added a commit that referenced this pull request Feb 22, 2016
reorder cli commands to be alphabetic ordered
@kytrinyx kytrinyx merged commit f391cc1 into exercism:master Feb 22, 2016
@beanieboi
Copy link
Contributor Author

yay! cool! 👍

@beanieboi beanieboi deleted the alphabetic-command-order branch February 22, 2016 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants