Class: LumiaServer::CLI::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/lumia-server/command/command.rb

Direct Known Subclasses

Build, Clean, Exec, Start

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args, options) ⇒ Command

Returns a new instance of Command.



14
15
16
17
# File 'lib/lumia-server/command/command.rb', line 14

def initialize(args, options)
  @args = args
  @options = options
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



11
12
13
# File 'lib/lumia-server/command/command.rb', line 11

def args
  @args
end

#optionsObject (readonly)

Returns the value of attribute options.



12
13
14
# File 'lib/lumia-server/command/command.rb', line 12

def options
  @options
end

Instance Method Details

#runObject



19
# File 'lib/lumia-server/command/command.rb', line 19

def run; end