Class: Kubert::EnvCli

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

Instance Method Summary collapse

Instance Method Details

#allObject



9
10
11
# File 'lib/kubert/env_cli.rb', line 9

def all
  Environment.get(nil, options)
end

#get(key) ⇒ Object



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

def get(key)
  Environment.get(key, options)
end

#set(key, value) ⇒ Object



36
37
38
# File 'lib/kubert/env_cli.rb', line 36

def set(key, value)
  Environment.set(key, value, options)
end

#unset(key) ⇒ Object



26
27
28
# File 'lib/kubert/env_cli.rb', line 26

def unset(key)
  Environment.unset(key, options)
end