class BotCli
Public Instance Methods
delete(args)
click to toggle source
# File lib/bot_cli.rb, line 18 def delete(args) guid = args[0] if (guid == nil || guid.empty?) $stderr.puts "Missing guid of bot to delete" exit 1 end BotBuilder.instance.delete_bot guid end
devices(args)
click to toggle source
# File lib/bot_cli.rb, line 31 def devices(args) BotBuilder.instance.devices end
status(args)
click to toggle source
# File lib/bot_cli.rb, line 27 def status(args) BotBuilder.instance.status end
sync_github(args)
click to toggle source
# File lib/bot_cli.rb, line 35 def sync_github(args) BotGithub.instance.sync end