Class: Elzar::Cli::Init
Instance Attribute Summary collapse
-
#authorized_keys ⇒ Object
readonly
Returns the value of attribute authorized_keys.
-
#dna ⇒ Object
readonly
Returns the value of attribute dna.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Init
constructor
A new instance of Init.
- #run ⇒ Object
Methods inherited from Runner
#require_arguments!, required_argument, required_arguments, run
Constructor Details
#initialize(options = {}) ⇒ Init
Returns a new instance of Init.
59 60 61 |
# File 'lib/elzar/cli.rb', line 59 def initialize( = {}) @dna = [:dna] end |
Instance Attribute Details
#authorized_keys ⇒ Object (readonly)
Returns the value of attribute authorized_keys.
57 58 59 |
# File 'lib/elzar/cli.rb', line 57 def @authorized_keys end |
#dna ⇒ Object (readonly)
Returns the value of attribute dna.
57 58 59 |
# File 'lib/elzar/cli.rb', line 57 def dna @dna end |
Instance Method Details
#run ⇒ Object
63 64 65 66 67 68 69 |
# File 'lib/elzar/cli.rb', line 63 def run Elzar.create_provision_directory 'provision', notify <<-MSG Created provision/ directory. !!! You must go edit provision/dna.json to meet your app's needs !!! MSG end |