mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
feat: make npx playwright clear-cache public (#32638)
This commit is contained in:
parent
21d162c945
commit
ce06a81aa6
@ -69,7 +69,7 @@ function addListFilesCommand(program: Command) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function addClearCacheCommand(program: Command) {
|
function addClearCacheCommand(program: Command) {
|
||||||
const command = program.command('clear-cache', { hidden: true });
|
const command = program.command('clear-cache');
|
||||||
command.description('clears build and test caches');
|
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.option('-c, --config <file>', `Configuration file, or a test directory with optional "playwright.config.{m,c}?{js,ts}"`);
|
||||||
command.action(async opts => {
|
command.action(async opts => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user