Class: SolusVM::GeneralCLI

Inherits:
BaseCLI
  • Object
show all
Defined in:
lib/solusvm/cli/general_cli.rb

Instance Method Summary (collapse)

Methods inherited from BaseCLI

banner, default_option, namespace

Instance Method Details

- (Object) api (private)



21
22
23
# File 'lib/solusvm/cli/general_cli.rb', line 21

def api
  @general ||= SolusVM::General.new(api_params)
end

- (Object) isos(type)



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

def isos(type)
  output api.isos(type)
end

- (Object) plans(type)



10
11
12
# File 'lib/solusvm/cli/general_cli.rb', line 10

def plans(type)
  output api.plans(type)
end

- (Object) templates(type)



5
6
7
# File 'lib/solusvm/cli/general_cli.rb', line 5

def templates(type)
  output api.templates(type)
end