Skip to content

Commit

Permalink
add a pack alias for package (#892)
Browse files Browse the repository at this point in the history
This trips me up every time I use vsce. npm uses 'npm pack', and vsce uses 'vsce package', so add an alias to save me a collective dozen seconds over the course of my life
  • Loading branch information
connor4312 authored Aug 11, 2023
1 parent a6187b3 commit 446c1de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ module.exports = function (argv: string[]): void {

program
.command('package [version]')
.alias('pack')
.description('Packages an extension')
.option('-o, --out <path>', 'Output .vsix extension file to <path> location (defaults to <name>-<version>.vsix)')
.option('-t, --target <target>', `Target architecture. Valid targets: ${ValidTargets}`)
Expand Down

0 comments on commit 446c1de

Please sign in to comment.