Using python3-docopt to process command-line arguments.

Lost the color and result statuses in the command-line help, but should be able to get
them back.
This commit is contained in:
Andrew Hamilton 2016-01-29 18:51:35 +00:00
parent 454510f181
commit fee10f1343
3 changed files with 31 additions and 27 deletions

View file

@ -12,9 +12,14 @@
│The reports are cached in a directory │
 │
 │
│Usage: vigil <root_path>  │
│Usage:  │
│ vigil <root_path>  │
 │
│e.g. # vigil my_project  │
│Example:  │
│ # vigil my_project  │
 │
│Options:  │
│ -h, --help Show this screen and ex │
 │
│Keys:  │
h - Show the help screen. (toggle)  │
@ -24,17 +29,12 @@
t - Turn the result pane to portrai │
l - Show the activity log. (toggle) │
n - Move to the next issue.  │
N - Move to the next issue of the c │
o - Order files by type, or by dire │
p - Pause work. (toggle)  │
s - Change the appearance of result │
q - Quit.  │
 │
│Statuses:  │
│  Normal  │
  Ok  │
  Problem │
  Not applicable │
  Running │
N - Move to the next issue of the c │
o - Order files by type, or by dire │
p - Pause work. (toggle) │
s - Change the appearance of result │
q - Quit. │
│ │
│Statuses: │
  │
└──────────────────────────────────────┘