pivotal-slacker 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.
|
|
37
|
+
program :version, "1.4.0"
|
|
38
38
|
program :description, "Pivotal Tracker command line client."
|
|
39
39
|
|
|
40
40
|
# ----------------------------------------------------------
|
|
@@ -95,6 +95,18 @@ command :started do |c|
|
|
|
95
95
|
end
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
+
command :unstarted do |c|
|
|
99
|
+
c.syntax = "pivotal-slacker unstarted"
|
|
100
|
+
c.description = "List your unstarted stories in Pivotal Tracker."
|
|
101
|
+
c.example "List your unstarted stories", "pivotal-slacker unstarted"
|
|
102
|
+
c.action do |args, options|
|
|
103
|
+
states = %w{unstarted}
|
|
104
|
+
owned_by = config.user
|
|
105
|
+
|
|
106
|
+
output_story_list :project => project, :states => states, :owned_by => owned_by
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
98
110
|
command :open do |c|
|
|
99
111
|
c.syntax = "pivotal-slacker open story_id"
|
|
100
112
|
c.description = "Open a specific Pivotal Tracker story in the browser."
|