chore: hide internal commands (#30170)
This commit is contained in:
parent
4781b3c3a8
commit
baaf8c8093
|
|
@ -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