Class: ENVied::Cli

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/envied/cli.rb

Instance Method Summary collapse

Instance Method Details

#checkObject



22
23
24
25
# File 'lib/envied/cli.rb', line 22

def check
  ENVied.require(*options[:groups])
  puts "All ENV-variables for group(s) #{options[:groups]} are ok!"
end

#initObject



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