class Rezept::Cli
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/rezept/cli.rb, line 10 def initialize(*args) @actions = Rezept::Actions.new( Rezept::Client.new, Rezept::Converter.new ) super(*args) end
Public Instance Methods
apply()
click to toggle source
# File lib/rezept/cli.rb, line 28 def apply @actions.apply(options) end
convert()
click to toggle source
# File lib/rezept/cli.rb, line 37 def convert @actions.convert(options) end
export()
click to toggle source
# File lib/rezept/cli.rb, line 21 def export @actions.export(options) end
put_inventory()
click to toggle source
# File lib/rezept/cli.rb, line 60 def put_inventory @actions.put_inventory(options) end
run_command()
click to toggle source
# File lib/rezept/cli.rb, line 51 def run_command @actions.run_command(options) end