Class: ENVied::Cli
- Inherits:
-
Thor
- Object
- Thor
- ENVied::Cli
- Includes:
- Thor::Actions
- Defined in:
- lib/envied/cli.rb
Instance Method Summary collapse
Instance Method Details
#check ⇒ Object
22 23 24 25 |
# File 'lib/envied/cli.rb', line 22 def check ENVied.require(*[:groups]) puts "All variables for group(s) #{options[:groups]} are present and valid" end |
#init ⇒ Object
9 10 11 12 |
# File 'lib/envied/cli.rb', line 9 def init puts "Writing new Envfile to #{File.expand_path('Envfile')}" template("Envfile.tt") end |