Merge pull request #447 from owenfarrell/environmental-pat
Support injecting PAT from an environmental variable
This commit is contained in:
commit
ba42d4cb40
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ module.exports = function (argv: string[]): void {
|
|||
program
|
||||
.command('publish [<version>]')
|
||||
.description('Publishes an extension')
|
||||
.option('-p, --pat <token>', 'Personal Access Token')
|
||||
.option('-p, --pat <token>', 'Personal Access Token', process.env['VSCE_PAT'])
|
||||
.option('-m, --message <commit message>', 'Commit message used when calling `npm version`.')
|
||||
.option('--packagePath [path]', 'Publish the VSIX package located at the specified path.')
|
||||
.option('--baseContentUrl [url]', 'Prepend all relative links in README.md with this url.')
|
||||
|
|
Loading…
Add table
Reference in a new issue