lib/batcave/main.rb in batcave-0.0.6 vs lib/batcave/main.rb in batcave-0.0.7

- old
+ new

@@ -1,9 +1,10 @@ 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" @@ -16,6 +17,9 @@ 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