feat: make npx playwright clear-cache public

This commit is contained in:
Dmitry Gozman 2024-09-16 16:28:14 +01:00
parent 268357238a
commit 8f158a124d

View file

@ -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 => {