Class: Heyterminal::Cli::Commands::List
- Inherits:
-
Heyterminal::CliCommand
- Object
- Dry::CLI::Command
- Heyterminal::CliCommand
- Heyterminal::Cli::Commands::List
- Defined in:
- lib/heyterminal/cli.rb
Instance Method Summary collapse
Methods inherited from Heyterminal::CliCommand
Instance Method Details
#call(**options) ⇒ Object
34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/heyterminal/cli.rb', line 34 def call(**) safe_call do Heyterminal::Runner.load_default(.fetch(:config, nil)) list = Heyterminal::Runner.expressions_commands puts 'List of commands' puts '-----------------' list.each do |exp| puts "* #{exp}" end end end |