Sha256: fe098fca7467bbecf0ec20c35df1cba4f8536a911baace3ce60a0f78b83361a6
Contents?: true
Size: 815 Bytes
Versions: 2
Compression:
Stored size: 815 Bytes
Contents
require "clamp" require "batcave/namespace" require "batcave/command/add" require "batcave/command/update" require "batcave/command/test" require "cabin" class BatCave::Main < Clamp::Command option ["-v", "--verbose"], :flag, "enable verbose logging" do require "logger" logger = Cabin::Channel.get("batcave") logger.subscribe(Logger.new(STDOUT)) logger.level = :info end # Add something to your bat cave. subcommand "add", "Add something to your batcave", BatCave::Command::Add # Update the batcave from upstream. This will keep you updated with # the latest in gadgets and useful tools. subcommand "update", "Update the things in your bat cave.", BatCave::Command::Update # Run a file's tests. subcommand "test", "Run the tests for a given file", BatCave::Command::Test end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
batcave-0.0.9 | lib/batcave/main.rb |
batcave-0.0.7 | lib/batcave/main.rb |