@softboxlab/moo-cli
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -10,2 +10,3 @@ #!/usr/bin/env node | ||
const package_json_1 = __importDefault(require("../package.json")); | ||
const arch_1 = __importDefault(require("./commands/arch")); | ||
const comp_1 = __importDefault(require("./commands/comp")); | ||
@@ -25,4 +26,8 @@ const menu_1 = __importDefault(require("./menu")); | ||
commander_1.default | ||
.command('arch') | ||
.description('Generate standardized archtecture to start a new project') | ||
.action(arch_1.default); | ||
commander_1.default | ||
.command('comp <name>') | ||
.description('Generate standardized code for your project') | ||
.description('Generate standardized component initial code') | ||
.option('-d, --dest [dir]', 'output directory', './src/components') | ||
@@ -29,0 +34,0 @@ .option('-v, --vue', 'build something for vue') |
{ | ||
"name": "@softboxlab/moo-cli", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "A MOOvelous CLI", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# moo-cli | ||
A MOOvelous CLI | ||
A MOOvelous CLI. | ||
Its purpose is to standardize creation of new projects, components and resources by using solid patterns and proxying other CLIs with preset configs. | ||
## Get started | ||
### Online | ||
`npx @softboxlab/moo-cli [command] [options]` | ||
### Local | ||
`npm i -g @softboxlab/moo-cli` | ||
or | ||
`yarn global add @softboxlab/moo-cli` | ||
Now you can run it like this: | ||
`moo-cli [command] [options]` | ||
Or just: | ||
`moo [command] [options]` | ||
To know what commands/options are available, just run it with no arguments or ask for help, like this: | ||
`moo --help` | ||
or just | ||
`moo -h` |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
17811
18
446
36
1