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 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 new <script|lib|include> [name]` - create a new file in the project workspace
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 n` - alias to `new` command
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
 
@@ -141,8 +141,10 @@ program
141
141
  });
142
142
  }); });
143
143
  program
144
- .command('new')
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')
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "amxxpack",
3
3
  "description": "AMXXPack",
4
4
  "author": "Hedgehog Fog",
5
- "version": "1.3.2",
5
+ "version": "1.3.3",
6
6
  "license": "MIT",
7
7
  "main": "lib/builder/index.js",
8
8
  "types": "lib/builder/index.d.ts",