Class: Headsail::CLI
- Inherits:
-
Object
- Object
- Headsail::CLI
- Defined in:
- lib/headsail/cli.rb
Overview
Handles the start of Headsail via command line
Instance Attribute Summary collapse
-
#configure ⇒ Object
readonly
Returns the value of attribute configure.
-
#launcher ⇒ Object
readonly
Returns the value of attribute launcher.
Instance Method Summary collapse
-
#initialize(argv) ⇒ CLI
constructor
Creates a new CLI object, parsing the arguments that are passed to it, and readying a Launcher to be run.
- #run ⇒ Object
Constructor Details
Instance Attribute Details
#configure ⇒ Object (readonly)
Returns the value of attribute configure.
9 10 11 |
# File 'lib/headsail/cli.rb', line 9 def configure @configure end |
#launcher ⇒ Object (readonly)
Returns the value of attribute launcher.
9 10 11 |
# File 'lib/headsail/cli.rb', line 9 def launcher @launcher end |
Instance Method Details
#run ⇒ Object
24 25 26 |
# File 'lib/headsail/cli.rb', line 24 def run @launcher.run end |