class Datahen::CLI::EnvVar

Public Instance Methods

list() click to toggle source
# File lib/datahen/cli/env_var.rb, line 11
def list
  client = Client::EnvVar.new(options)
  puts "#{client.all}"
end
set(name, value) click to toggle source
# File lib/datahen/cli/env_var.rb, line 23
def set(name, value)
  # puts "options #{options}"
  client = Client::EnvVar.new(options)
  puts "#{client.set(name, value, options)}"
end
show(name) click to toggle source
# File lib/datahen/cli/env_var.rb, line 30
def show(name)
  client = Client::EnvVar.new(options)
  puts "#{client.find(name)}"
end
unset(name) click to toggle source
# File lib/datahen/cli/env_var.rb, line 36
def unset(name)
  client = Client::EnvVar.new(options)
  puts "#{client.unset(name)}"
end