lib/batcave/main.rb in batcave-0.0.9 vs lib/batcave/main.rb in batcave-0.0.11
- old
+ new
@@ -1,10 +1,12 @@
require "clamp"
require "batcave/namespace"
require "batcave/command/add"
require "batcave/command/update"
require "batcave/command/test"
+require "batcave/command/smart-edit"
+require "batcave/command/github-issue-milestone"
require "cabin"
class BatCave::Main < Clamp::Command
option ["-v", "--verbose"], :flag, "enable verbose logging" do
require "logger"
@@ -20,6 +22,11 @@
# 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
+
+ # Figure out what file to edit and do it.
+ subcommand "smart-edit", "Scan the screen for a file to edit", BatCave::Command::SmartEdit
+
+ subcommand "github-issue-milestone", "Set a milestone on an issue", BatCave::Command::GithubIssueMilestone
end