MCPcopy Index your code
hub / github.com/csscomb/csscomb.js / displayHelp

Function displayHelp

src/cli.js:69–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69function displayHelp() {
70 var help = [
71 'NAME',
72 ' csscomb — Lint and fix style errors in css files',
73 '',
74 'SYNOPSIS',
75 ' csscomb [options] file.css',
76 ' cat file.css | csscomb [options] -',
77 '',
78 'OPTIONS',
79 ' -c, --config [path]',
80 ' Path to configuration file.',
81 ' -d, --detect',
82 ' Run the tool in detect mode, returning detected options.',
83 ' -l, --lint',
84 ' Run the tool in linter mode, without modifying files.',
85 ' -h, --help',
86 ' Display help message.',
87 ' -v, --verbose',
88 ' Whether to print logging info.',
89 ' -t, --tty-mode',
90 ' Run the tool in TTY mode using external app (e.g. IDE).',
91 ''
92 ];
93 process.stdout.write(help.join(os.EOL));
94}
95
96function detectConfig() {
97 const config = Comb.detectInFile(options.detect);

Callers 1

cli.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected