Class: Wanda::CLI

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/wanda/cli.rb

Overview

CLI implementation for wanda

Constant Summary collapse

SUPPORTED_GEMS =

Keep sorted list | except rails

{
  rails: [
    { from: 4.2, to: 5.2 },
    { from: 5.2, to: 6.0 }
  ]
}.freeze

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/wanda/cli.rb', line 20

def self.exit_on_failure?
  true
end

Instance Method Details

#versionObject



26
27
28
# File 'lib/wanda/cli.rb', line 26

def version
  say "Wanda #{VERSION}"
end