class Lab::CLI
Public Instance Methods
configure()
click to toggle source
# File lib/lab/cli.rb, line 9 def configure domain = ask "Domain:" private_token = ask "Private token:" yaml = YAML.dump "domain" => domain, "private_token" => private_token file = File.open DOTFILE, "w" do |file| file.write yaml end end