mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-02 00:53:32 +03:00
chore: hide test server related cli commands (#29532)
This commit is contained in:
parent
269a293ba1
commit
4f1d8cdd63
@ -70,7 +70,7 @@ function addListFilesCommand(program: Command) {
|
||||
}
|
||||
|
||||
function addClearCacheCommand(program: Command) {
|
||||
const command = program.command('clear-cache');
|
||||
const command = program.command('clear-cache', { hidden: true });
|
||||
command.description('clears build and test caches');
|
||||
command.option('-c, --config <file>', `Configuration file, or a test directory with optional "playwright.config.{m,c}?{js,ts}"`);
|
||||
command.action(async opts => {
|
||||
@ -98,7 +98,7 @@ export async function removeFolder(folder: string) {
|
||||
}
|
||||
|
||||
function addFindRelatedTestFilesCommand(program: Command) {
|
||||
const command = program.command('find-related-test-files [source-files...]');
|
||||
const command = program.command('find-related-test-files [source-files...]', { hidden: true });
|
||||
command.description('Returns the list of related tests to the given files');
|
||||
command.option('-c, --config <file>', `Configuration file, or a test directory with optional "playwright.config.{m,c}?{js,ts}"`);
|
||||
command.action(async (files, options) => {
|
||||
|
Loading…
Reference in New Issue
Block a user