pivotal-slacker 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/pivotal-slacker +13 -1
- metadata +1 -1
data/bin/pivotal-slacker
CHANGED
@@ -34,7 +34,7 @@ project = PivotalTracker::Project.find config.project
|
|
34
34
|
require "commander/import"
|
35
35
|
require "pivotal-tracker"
|
36
36
|
|
37
|
-
program :version, "1.0"
|
37
|
+
program :version, "1.2.0"
|
38
38
|
program :description, "Pivotal Tracker command line client."
|
39
39
|
|
40
40
|
# ----------------------------------------------------------
|
@@ -83,6 +83,18 @@ command :accepted do |c|
|
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
86
|
+
command :started do |c|
|
87
|
+
c.syntax = "pivotal-slacker started"
|
88
|
+
c.description = "List your started stories in Pivotal Tracker."
|
89
|
+
c.example "List your started stories", "pivotal-slacker started"
|
90
|
+
c.action do |args, options|
|
91
|
+
states = %w{started}
|
92
|
+
owned_by = config.user
|
93
|
+
|
94
|
+
output_story_list :project => project, :states => states, :owned_by => owned_by
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
86
98
|
command :open do |c|
|
87
99
|
c.syntax = "pivotal-slacker open story_id"
|
88
100
|
c.description = "Open a specific Pivotal Tracker story in the browser."
|