MCPcopy
hub / github.com/csscomb/csscomb.js / getOptions

Function getOptions

src/cli.js:54–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53
54function getOptions() {
55 var parserOptions = {
56 boolean: ['help', 'lint', 'verbose', 'tty-mode'],
57 alias: {
58 config: 'c',
59 detect: 'd',
60 lint: 'l',
61 help: 'h',
62 verbose: 'v',
63 'tty-mode': 't'
64 }
65 };
66 return parseArgs(process.argv.slice(2), parserOptions);
67}
68
69function displayHelp() {
70 var help = [

Callers 1

cli.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected