@@ -10,30 +10,30 @@ require 'docopt'
10
10
require 'paint'
11
11
12
12
doc = <<~DOCOPT
13
- Pass Station v#{ PassStation ::VERSION }
13
+ #{ Paint [ ' Pass Station' , :bold , '#2db453' ] } v#{ Paint [ PassStation ::VERSION , :bold ] }
14
14
15
- Usage:
15
+ #{ Paint [ ' Usage:' , '#2db453' ] }
16
16
pass-station list [--sort <col> --output <format>] [--source <id> --debug]
17
17
pass-station search <term> [--field <col> --sort <col> --sensitive --output <format>] [--source <id> --no-color --debug]
18
18
pass-station update ([--force] <path> | --check) [--debug]
19
19
pass-station -h | --help
20
20
pass-station --version
21
21
22
- List options: list all default credentials
22
+ #{ Paint [ ' List options:' , '#2db453' ] } #{ Paint [ ' list all default credentials' , :underline ] }
23
23
24
- Output options: can be used with list and search commands
24
+ #{ Paint [ ' Output options:' , '#2db453' ] } #{ Paint [ ' can be used with list and search commands' , :underline ] }
25
25
-o <format>, --output <format> Output format: JSON, CSV, YAML, table, pretty-table [default: pretty-table]
26
26
-s <col>, --sort <col> Sort by column (see documentation, columns depends on the database source)
27
27
28
- Search options:
28
+ #{ Paint [ ' Search options:' , '#2db453' ] } #{ Paint [ 'search for default credentials' , :underline ] }
29
29
--field <col> Search in column: column name (see documentation, columns depends on the database source) or all
30
30
--sensitive Search is case sensitive (case insensitive by default)
31
31
32
- Update options: update the password database (replace Pass Station DB with upstream DB, use with care)
32
+ #{ Paint [ ' Update options:' , '#2db453' ] } #{ Paint [ ' update the password database (replace Pass Station DB with upstream DB, use with care)' , :underline ] }
33
33
-f, --force Bypass hash checking
34
34
-c, --check Check for possible update
35
35
36
- Other options:
36
+ #{ Paint [ ' Other options:' , '#2db453' ] }
37
37
--source <id> Credentials source database: 1 (Default Credentials Cheat Sheet), 2 (Many passwords) [default: 1]
38
38
--no-color Disable colorized output
39
39
--debug Display arguments
0 commit comments