Class: Wordmove::CLI::Commands::List
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Wordmove::CLI::Commands::List
- Defined in:
- lib/wordmove/cli.rb
Instance Method Summary collapse
Instance Method Details
#call(**cli_options) ⇒ Object
87 88 89 90 91 92 93 94 95 96 |
# File 'lib/wordmove/cli.rb', line 87 def call(**) Wordmove::EnvironmentsList.print() rescue Wordmove::MovefileNotFound => e Logger.new($stdout).error(e.) exit 1 rescue Psych::SyntaxError => e Logger.new($stdout) .error("Your movefile is not parsable due to a syntax error: #{e.}") exit 1 end |