1
1
# cmdmux
2
2
3
- Package cmdmux implements a command parser and router for terminal programme .
3
+ Package cmdmux implements a command parser and router for terminal program .
4
4
5
5
6
6
[ ![ Build Status] ( https://travis-ci.org/choueric/cmdmux.svg?branch=master )] ( https://travis-ci.org/choueric/cmdmux )
@@ -9,7 +9,7 @@ Package cmdmux implements a command parser and router for terminal programme.
9
9
10
10
# Overview
11
11
12
- In general, there are two styles a terminal programme to interact with users.
12
+ In general, there are two styles a terminal program to interact with users.
13
13
14
14
1 . Use -o, -p to specify parameters. Most programmes are in this way.
15
15
2 . Use sub-commands, like git which uses only one level sub-command.
@@ -19,7 +19,7 @@ second this package.
19
19
20
20
The package can:
21
21
22
- 1 . Build a terminal programme with various commands easily.
22
+ 1 . Build a terminal program with various commands easily.
23
23
2 . Generate a shell completion file (Now only for bash) !
24
24
3 . Output commands tree.
25
25
@@ -111,10 +111,10 @@ after its command name.
111
111
## Generate Shell Completion File
112
112
113
113
After building various commands with ` HandleFunc() ` , it's time to get a shell
114
- (bash actually) completion file which helps users of your programme input
114
+ (bash actually) completion file which helps users of your program input
115
115
commands easily on terminal.
116
116
117
- Below is a example to get such file for ` test ` programme :
117
+ Below is a example to get such file for ` test ` program :
118
118
119
119
``` go
120
120
// some HandleFunc codes ...
0 commit comments