cherry-pick(#30170): chore: hide internal commands
This commit is contained in:
parent
122ab67e34
commit
1cd1239d62
|
|
@ -21,7 +21,7 @@ import { runDevServer } from './devServer';
|
||||||
export { program } from 'playwright/lib/program';
|
export { program } from 'playwright/lib/program';
|
||||||
|
|
||||||
function addDevServerCommand(program: Command) {
|
function addDevServerCommand(program: Command) {
|
||||||
const command = program.command('dev-server');
|
const command = program.command('dev-server', { hidden: true });
|
||||||
command.description('start dev server');
|
command.description('start dev server');
|
||||||
command.option('-c, --config <file>', `Configuration file, or a test directory with optional "playwright.config.{m,c}?{js,ts}"`);
|
command.option('-c, --config <file>', `Configuration file, or a test directory with optional "playwright.config.{m,c}?{js,ts}"`);
|
||||||
command.action(options => {
|
command.action(options => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue