Sha256: 87138e2861875c8cbbd102d4d9c0089c1270e4fede7575788e48eaa1ac243288
Contents?: true
Size: 1013 Bytes
Versions: 1
Compression:
Stored size: 1013 Bytes
Contents
#!/usr/bin/env ruby require 'boson/runner' $:.unshift File.expand_path("../../lib", __FILE__) require 'babot' FileUtils.mkdir_p Babot.root class BabotRunner < Boson::Runner desc "Update bot [name]" def update(name) Babot.update(name) end desc "Update crontab" def schedule Babot.schedule end desc "Run bot [name]" def run(name) Babot.run name end desc "Add bot [name] from [repository]" def add(name, repository) Babot.add name, repository Babot.configure name end desc "Delete bot [name]" def delete(name) Babot.delete name end desc "Configure bot [name]" def configure(name) Babot.configure name end desc "List bots" def list puts Babot.list end desc "Dump bots and configuration in tar file" def dump Babot.dump end desc "Install from tar file [path]" def install(path) Babot.install path end desc "Push to remote server [remote]" def push(remote) Babot.push remote end end BabotRunner.start
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
babot-0.3.1 | bin/babot |