Class: Rapis::Cli

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

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Cli

Returns a new instance of Cli.



8
9
10
11
# File 'lib/rapis/cli.rb', line 8

def initialize(*args)
  @actions = Rapis::Actions.new
  super(*args)
end

Instance Method Details

#applyObject



49
50
51
# File 'lib/rapis/cli.rb', line 49

def apply
  @actions.apply(options)
end

#convertObject



22
23
24
# File 'lib/rapis/cli.rb', line 22

def convert
  @actions.convert(options)
end

#create(name) ⇒ Object



15
16
17
# File 'lib/rapis/cli.rb', line 15

def create(name)
  @actions.create(name, options)
end

#deployObject



60
61
62
# File 'lib/rapis/cli.rb', line 60

def deploy
  @actions.deploy(options)
end

#diffObject



43
44
45
# File 'lib/rapis/cli.rb', line 43

def diff
  @actions.diff(options)
end

#exportObject



36
37
38
# File 'lib/rapis/cli.rb', line 36

def export
  @actions.export(options)
end

#listObject



28
29
30
# File 'lib/rapis/cli.rb', line 28

def list
  @actions.list(options)
end