Class: VixenRename::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/vixen_rename/cli.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/vixen_rename/cli.rb', line 7

def self.exit_on_failure?
  true
end

Instance Method Details

#rename(location) ⇒ Object



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

def rename(location)
  opts = options.transform_keys(&:to_sym)
  Client.new(location, **opts).convert
end