-
Notifications
You must be signed in to change notification settings - Fork 17
/
usage.js
19 lines (18 loc) · 1.27 KB
/
usage.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
var table = require('text-table');
module.exports = table([
['Options:\n'],
['--port', 'set a port for this bcat execution\n', '[default: random port]'],
['--contentType', 'content type header, must be lower case', '[default: "text/html"]\n'],
['--backgroundColor', '(only in text/html) ', '[default: "#000000"]\n'],
['--foregroundColor', '(only in text/html) ', '[default: "#ffffff"]\n'],
['--tabLength', 'length of a tab in spaces', '[default: 4]\n'],
['--tabReplace', 'tab replacement', '[default: " "\n'],
['--disableTabReplace', 'disable tab replacement', '[default: false]\n'],
['--newlineReplace', 'new line replacement', '[default: "<br />"\n'],
['--disableNewlineReplace', 'disable new line replacement', '[default: false]\n'],
['--ansi', 'show colorful ansi (implies text/html)', '[default: true]\n'],
['--ansiOptions', 'override replacement of ansi black color\n', ''],
['--scrollDownInterval', 'interval to execute javascript scroll down', '[default: 1000 (ms)]\n'],
['--serverTimeout', 'http://nodejs.org/api/http.html#http_server_timeout', '[default: 0 (no timeout)]\n'],
['--command', 'the command to launch the browser', '[default: osx: open, windows: start, other: xdg-open]\n']
]);