Class: Playwright::CLI::Commands::List::Command
- Inherits:
-
Object
- Object
- Playwright::CLI::Commands::List::Command
- Includes:
- Utils::Ask, Utils::Display, Utils::FileManager
- Defined in:
- lib/playwright/cli/commands/list/command.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Utils::FileManager
Methods included from Utils::Ask
Methods included from Utils::Display
Class Method Details
.run ⇒ Object
12 13 14 |
# File 'lib/playwright/cli/commands/list/command.rb', line 12 def self.run new.run end |
Instance Method Details
#run ⇒ Object
16 17 18 19 |
# File 'lib/playwright/cli/commands/list/command.rb', line 16 def run display.print "Playwright Scripts:\n" display.print file_manager.list_scripts, indent: true end |