Add --packagePath to publish command
This commit is contained in:
parent
2bb61021f7
commit
0aeee49073
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ module.exports = function (argv: string[]): void {
|
|||
.command('publish [<version>]')
|
||||
.description('Publishes an extension')
|
||||
.option('-p, --pat <token>', 'Personal Access Token')
|
||||
.action((version, { pat }) => catchFatal(publish({ pat, version })));
|
||||
.option('--packagePath [path]', 'If found, the specified package will be published instead of packaging a new one.')
|
||||
.action((version, { pat, packagePath }) => catchFatal(publish({ pat, version, packagePath })));
|
||||
|
||||
program
|
||||
.command('unpublish [<extensionid>]')
|
||||
|
|
Loading…
Add table
Reference in a new issue