Class: EnvCli

Inherits:
Thor
  • Object
show all
Defined in:
lib/env/env_cli.rb

Constant Summary collapse

ENV =
Env.new

Instance Method Summary collapse

Instance Method Details

#add(file) ⇒ Object



7
8
9
# File 'lib/env/env_cli.rb', line 7

def add(file)
  ENV.add(file)
end

#applyObject



17
18
19
# File 'lib/env/env_cli.rb', line 17

def apply
  ENV.apply
end

#remove(file) ⇒ Object



12
13
14
# File 'lib/env/env_cli.rb', line 12

def remove(file)
  ENV.remove(file)
end

#syncObject



22
23
24
# File 'lib/env/env_cli.rb', line 22

def sync
  ENV.sync
end