Skip to content

Commit e209d7c

Browse files
committed
chore: Alias pack to package command
1 parent 1c173e9 commit e209d7c

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

cmds/core/package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
"use strict";
1919

20-
exports.command = ['package [destination]'];
20+
exports.command = ['package [destination]', 'pack [destination]'];
2121
exports.desc = 'Build a package artifact, and put it into the given destination';
2222
exports.builder = yargs => yargs
2323
.positional(

docs/content/Getting-Started/Commands-and-options/_index.en.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ $ eask uninstall
172172

173173
Build the package artifact.
174174

175+
Alias: `pack`
176+
175177
```sh
176178
$ eask package [DESTINATION]
177179
```

docs/content/Getting-Started/Commands-and-options/_index.zh-tw.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ $ eask uninstall
170170

171171
構建包工件。
172172

173+
別名: `pack`
174+
173175
```sh
174176
$ eask package [DESTINATION]
175177
```

0 commit comments

Comments
 (0)