chore(CLI): let other langs specify exec name (#6719)
This commit is contained in:
parent
39a8abd9ab
commit
01d8f87923
|
|
@ -38,7 +38,7 @@ import { allBrowserNames } from '../utils/registry';
|
||||||
|
|
||||||
program
|
program
|
||||||
.version('Version ' + require('../../package.json').version)
|
.version('Version ' + require('../../package.json').version)
|
||||||
.name('npx playwright');
|
.name(process.env.PW_CLI_NAME || 'npx playwright');
|
||||||
|
|
||||||
commandWithOpenOptions('open [url]', 'open page in browser specified via -b, --browser', [])
|
commandWithOpenOptions('open [url]', 'open page in browser specified via -b, --browser', [])
|
||||||
.action(function(url, command) {
|
.action(function(url, command) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue