lh 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/lh +11 -11
- metadata +5 -5
data/bin/lh
CHANGED
@@ -7,7 +7,7 @@ SUB_COMMANDS = %w(i init n new s show u update o open c close)
|
|
7
7
|
global_opts = Trollop::options do
|
8
8
|
version
|
9
9
|
banner <<-EOS
|
10
|
-
lh 0.0.
|
10
|
+
lh 0.0.4 (c) Matthew Trost 2011
|
11
11
|
::: command-line interface to Lighthouse
|
12
12
|
|
13
13
|
Usage:
|
@@ -25,19 +25,19 @@ cmd = ARGV.shift
|
|
25
25
|
cmd_opts = case cmd
|
26
26
|
when 'init', 'i'
|
27
27
|
Trollop::options do
|
28
|
-
opt :account,
|
29
|
-
opt :token,
|
30
|
-
opt :user,
|
31
|
-
opt :password,
|
32
|
-
opt :default_project 'Default project name or ID', :type => :string
|
28
|
+
opt :account, 'Lighthouse account ID', :type => :string
|
29
|
+
opt :token, 'Lighthouse API token', :type => :string
|
30
|
+
opt :user, 'Lighthouse username', :type => :string
|
31
|
+
opt :password, 'Lighthouse password', :type => :string
|
32
|
+
opt :default_project, 'Default project name or ID', :type => :string
|
33
33
|
end
|
34
34
|
when 'new', 'n'
|
35
35
|
Trollop::options do
|
36
|
-
opt :user,
|
37
|
-
opt :project,
|
38
|
-
opt :milestone,
|
39
|
-
opt :title,
|
40
|
-
opt :message,
|
36
|
+
opt :user, 'User to assign ticket', :type => :string
|
37
|
+
opt :project, 'Project to assign ticket', :type => :string
|
38
|
+
opt :milestone, 'Milestone to assign ticket', :type => :string
|
39
|
+
opt :title, 'Title of ticket', :type => :string
|
40
|
+
opt :message, 'Ticket message', :type => :string
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-11-23 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: trollop
|
16
|
-
requirement: &
|
16
|
+
requirement: &2156440940 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2156440940
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: lighthouse-api
|
27
|
-
requirement: &
|
27
|
+
requirement: &2156440500 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2156440500
|
36
36
|
description: lh provides a command-line interface to the Lighthouse issue-tracking
|
37
37
|
system.
|
38
38
|
email: mrtrost@gmail.com
|