Class: Phase::CLI::Command

Inherits:
Object
  • Object
show all
Extended by:
Commander::Methods
Includes:
Util::Console
Defined in:
lib/phase/cli/command.rb

Direct Known Subclasses

Build, Deploy, IPA, Keys, Logs, SSH, Status

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Util::Console

#ask, #fail, #log

Constructor Details

#initialize(args, options) ⇒ Command

Returns a new instance of Command.



12
13
14
15
# File 'lib/phase/cli/command.rb', line 12

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

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



10
11
12
# File 'lib/phase/cli/command.rb', line 10

def args
  @args
end

#optionsObject (readonly)

Returns the value of attribute options.



10
11
12
# File 'lib/phase/cli/command.rb', line 10

def options
  @options
end