Files
2012-02-21 01:15:00 -05:00

1 line
1.2 KiB
JSON

[{"user_id": 30462, "stars": [], "topic_id": 37055, "date_created": 1306505632.3755879, "message": "I made local changes to krl-0.1.66, but the new gem uses Thor and I'm not sure how to mod that.", "group_id": 236, "id": 1205364}, {"user_id": 30462, "stars": [], "topic_id": 37055, "date_created": 1306505663.8061609, "message": "This works unless you want to use options:", "group_id": 236, "id": 1205366}, {"user_id": 30462, "stars": [], "topic_id": 37055, "date_created": 1306505556.402859, "message": "I like aliases: ci for checkin, co for checkout. Anyone know what it takes to add command aliases to the KRL tool?", "group_id": 236, "id": 1205350}, {"user_id": 30462, "stars": [], "topic_id": 37055, "date_created": 1306505695.7159121, "message": "diff --git a/lib/cli.rb b/lib/cli.rb\nindex a1e90ca..ebb1024 100644\n--- a/lib/cli.rb\n+++ b/lib/cli.rb\n@@ -14,6 +14,12 @@ module KRL_CMD\n KRL_CMD::Apps.go\n end\n\n+ desc \"co [RULESET]\", \"Alias for checkout.\"\n+ method_option :title, :type => :boolean, :default => false, :aliases => \"-t\n+ def co(ruleset=\"\")\n+ invoke :checkout, ruleset\n+ end\n+\n desc \"checkout [RULESET]\", \"Creates a directory structure with the rulesets", "group_id": 236, "id": 1205369}]