taskmapper-cli 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/tm +17 -2
- data/lib/tm.rb +1 -0
- data/lib/tm/version.rb +1 -1
- metadata +3 -3
data/bin/tm
CHANGED
@@ -35,6 +35,21 @@ desc 'Authentication for provider'
|
|
35
35
|
arg_name "'token:password, username:user'"
|
36
36
|
flag [:a, :authentication]
|
37
37
|
|
38
|
+
desc 'Generate provider skeleton'
|
39
|
+
arg_name 'Command for generating a taskmapper provider skeleton'
|
40
|
+
command :generate do |c|
|
41
|
+
c.desc 'Provider name'
|
42
|
+
c.flag 'provider-name'
|
43
|
+
|
44
|
+
c.action do |global_options, options, args|
|
45
|
+
if options[:'provider-name']
|
46
|
+
TM::Commands::GenerateProvider.create(options[:'provider-name'])
|
47
|
+
else
|
48
|
+
puts "Please specified a provider name with --provider-name option"
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
38
53
|
desc 'Manage iteration with projects'
|
39
54
|
arg_name 'Command for managing projects'
|
40
55
|
command :project do |c|
|
@@ -181,8 +196,8 @@ command :comment do |c|
|
|
181
196
|
global_options[:authentication]),
|
182
197
|
formatter,
|
183
198
|
options[:'project-attribute']).execute(
|
184
|
-
|
185
|
-
|
199
|
+
options[:'task-attribute'],
|
200
|
+
options[:'comment-attribute'])
|
186
201
|
end
|
187
202
|
end
|
188
203
|
end
|
data/lib/tm.rb
CHANGED
data/lib/tm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taskmapper-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -413,7 +413,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
413
413
|
version: '0'
|
414
414
|
segments:
|
415
415
|
- 0
|
416
|
-
hash:
|
416
|
+
hash: 1265386982677400225
|
417
417
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
418
418
|
none: false
|
419
419
|
requirements:
|
@@ -422,7 +422,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
422
422
|
version: '0'
|
423
423
|
segments:
|
424
424
|
- 0
|
425
|
-
hash:
|
425
|
+
hash: 1265386982677400225
|
426
426
|
requirements: []
|
427
427
|
rubyforge_project:
|
428
428
|
rubygems_version: 1.8.25
|