File tree Expand file tree Collapse file tree
spec/approvals/cli/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ class Server < Base
66 usage 'madness server [PATH] [options]'
77 usage 'madness init (-h|--help)'
88
9- param 'PATH' , 'Path to the markdown directory [ default: .] '
9+ param 'PATH' , 'Path to the markdown directory ( default: .) '
1010
11- option '-p --port NUMBER' , 'Set server port number [ default: 3000] '
12- option '-b --bind ADDRESS' , 'Set server listen address [ default: 0.0.0.0] '
11+ option '-p --port NUMBER' , 'Set server port number ( default: 3000) '
12+ option '-b --bind ADDRESS' , 'Set server listen address ( default: 0.0.0.0) '
1313 option '-o --open' , 'Open a web browser after launching'
1414 option '--auth USER:PASS' , 'Enable basic authentication'
15- option '--auth-zone NAME' , 'The basic authentication prompt title [ default: Restricted Documentation] '
15+ option '--auth-zone NAME' , 'The basic authentication prompt title ( default: Restricted Documentation) '
1616 option '--theme FOLDER' , 'Use a custom theme (either absolute or relative to the main documentation path)'
1717
1818 example 'madness server'
Original file line number Diff line number Diff line change 66
77Options:
88 -p --port NUMBER
9- Set server port number [ default: 3000]
9+ Set server port number ( default: 3000)
1010
1111 -b --bind ADDRESS
12- Set server listen address [ default: 0.0.0.0]
12+ Set server listen address ( default: 0.0.0.0)
1313
1414 -o --open
1515 Open a web browser after launching
@@ -18,7 +18,7 @@ Options:
1818 Enable basic authentication
1919
2020 --auth-zone NAME
21- The basic authentication prompt title [ default: Restricted Documentation]
21+ The basic authentication prompt title ( default: Restricted Documentation)
2222
2323 --theme FOLDER
2424 Use a custom theme (either absolute or relative to the main documentation
@@ -29,7 +29,7 @@ Options:
2929
3030Parameters:
3131 PATH
32- Path to the markdown directory [ default: .]
32+ Path to the markdown directory ( default: .)
3333
3434Examples:
3535 madness server
Original file line number Diff line number Diff line change 11▌ generating Table of Contents
22▌ starting server
33▌ env : production
4- ▌ listen : 0.0.0.0:3000
4+ ▌ listen : 4.3.2.1:1337
55▌ path : ...docs
66▌ config : .madness.yml
77
You can’t perform that action at this time.
0 commit comments