1 | const colors = require("colors");
|
2 |
|
3 | module.exports = function help() {
|
4 | console.log(
|
5 | colors.green(
|
6 | [
|
7 | "",
|
8 | " Usage: mole-rn-cli.js [command] [options]",
|
9 | "",
|
10 | "",
|
11 | " Commands: ",
|
12 | "",
|
13 | " project <ProjectName> [options] generates a new project and auto installs its dependencies",
|
14 | " component <ComponentName> [options] generates a new component and auto installs its dependencies",
|
15 | "",
|
16 | " Options:",
|
17 | "",
|
18 | " -h, --help output usage information",
|
19 | " -v, --version output the version number",
|
20 | ""
|
21 | ].join("\n")
|
22 | )
|
23 | );
|
24 | };
|