MCPcopy Index your code
hub / github.com/darkreader/darkreader / printHelp

Function printHelp

tasks/cli.js:38–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38function printHelp() {
39 console.log([
40 'Dark Reader build utility',
41 '',
42 'Usage: build [build parameters]',
43 '',
44 'To narrow down the list of build targets (for efficiency):',
45 ' --api Library build (published to NPM)',
46 ' --chrome MV2 for Chromium-based browsers (published to Chrome Web Store)',
47 ' --chrome-mv3 MV3 for Chromium-based browsers (will replace MV2 version eventually)',
48 ' --firefox MV2 for Firefox (published to Mozilla Add-on store)',
49 ' --thunderbird Thunderbird',
50 '',
51 'To specify type of build:',
52 ' --release Release bundle for signing prior to publication',
53 ' --version=* Released bundle complete with digital signature (Firefox only)',
54 ' --debug Build for development',
55 ' --watch Incremental build for development',
56 '',
57 'To log errors to disk (for debugging and bug reports):',
58 ' --log-info Log lots of data',
59 ' --log-warn Log only warnings',
60 '',
61 'Build for testing (not to be used by humans):',
62 ' --test',
63 ].join('\n'));
64}
65
66function getVersion(args) {
67 const prefix = '--version=';

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected