amxxpack 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/cli/program.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ npm install -g amxxpack
|
|
|
52
52
|
- `amxxpack compile <path|glob>` - compile specific plugin in the project
|
|
53
53
|
- `--config` - config file
|
|
54
54
|
- `--no-cache` - disable caching
|
|
55
|
-
- `amxxpack
|
|
55
|
+
- `amxxpack generate <script|lib|include> [name]` - create a new file in the project workspace
|
|
56
56
|
- `--config` - config file
|
|
57
57
|
- `--name` - plugin name
|
|
58
58
|
- `--version` - plugin version
|
|
@@ -61,7 +61,7 @@ npm install -g amxxpack
|
|
|
61
61
|
- `--include` - include list separated by a comma
|
|
62
62
|
- `--overwrite` - overwrite the file if it already exists
|
|
63
63
|
- `amxpack i` - alias to `install` command
|
|
64
|
-
- `amxpack
|
|
64
|
+
- `amxpack g` - alias to `generate` command
|
|
65
65
|
- `amxpack b` - alias to `build` command
|
|
66
66
|
- `amxpack c` - alias to `compile` command
|
|
67
67
|
|
package/lib/cli/program.js
CHANGED
|
@@ -141,8 +141,10 @@ program
|
|
|
141
141
|
});
|
|
142
142
|
}); });
|
|
143
143
|
program
|
|
144
|
-
.command('
|
|
144
|
+
.command('generate')
|
|
145
|
+
.alias('new')
|
|
145
146
|
.alias('n')
|
|
147
|
+
.alias('g')
|
|
146
148
|
.arguments('<type> <filename>')
|
|
147
149
|
.option('--config, -c <path>', 'Config file', config_1.default.projectConfig)
|
|
148
150
|
.option('--name, -n <name>', 'Plugin name')
|