Mike Gehard
7ec896dde0
Update flag.go
...
Make boolean flags more in line with standard UNIX boolean flags.
2013-09-09 11:52:12 -07:00
Casey McTaggart
3e07cbd8ba
Show usage and exit with error whenever arguments parsing fails
...
Signed-off-by: Damien Le Berrigaud <damien@pivotallabs.com>
2013-09-04 13:58:31 -06:00
Jeremy Saenz
16d10cc127
Merge pull request #30 from codegangsta/JMS-28
...
JMS #28 : -h flags for subcommands
2013-08-14 09:26:03 -07:00
Jeremy Saenz
8cea424806
JMS #28 : -h flags for subcommands
2013-08-13 21:40:39 -07:00
Jeremy Saenz
61d5778536
Merge pull request #26 from codegangsta/JMS-25
...
JMS #25 : Added support for help flags
2013-07-24 17:58:22 -07:00
Jeremy Saenz
70eacca641
JMS #25 : Added support for help flags
2013-07-24 07:35:45 -07:00
Jeremy Saenz
933a037bf0
Merge pull request #24 from AlexanderChen1989/master
...
README.md fix
2013-07-23 09:20:31 -07:00
Alexander
cd365a2e94
Update README.md
2013-07-23 17:17:26 +08:00
Alexander
a29aaf2879
Update README.md
2013-07-23 17:16:08 +08:00
Jeremy Saenz
30ef543888
Merge pull request #22 from taeram/master
...
Fix app instantiation in greeter example
2013-07-22 07:50:14 -07:00
Jesse Patching
feb04561b2
Fix app instantiation in greeter example
2013-07-22 08:47:45 -06:00
Jeremy Saenz
c3ce3a299d
Merge pull request #21 from andyhmltn/master
...
Fixed the warnings on package install
2013-07-22 06:52:37 -07:00
Andy Hamilton
076e26d30f
Fixed the warnings on package install
...
The following warnings were being displayed when the package was installed/used:
/usr/lib/go/src/pkg/github.com/codegangsta/cli/context.go:56: function ends without a return statement
/usr/lib/go/src/pkg/github.com/codegangsta/cli/context.go:69: function ends without a return statement
/usr/lib/go/src/pkg/github.com/codegangsta/cli/context.go:78: function ends without a return statement
2013-07-22 14:35:56 +01:00
Jeremy Saenz
84a2685b9c
Ellipses
2013-07-20 15:59:38 -07:00
Jeremy Saenz
e146bf9ba5
Added subcommands to the readme
2013-07-20 15:58:51 -07:00
Jeremy Saenz
e14e45d087
More test tweaking
2013-07-20 15:53:25 -07:00
Jeremy Saenz
ed1ee94250
Adding some docs
2013-07-20 15:50:13 -07:00
Jeremy Saenz
518348eb46
Update README.md
2013-07-20 11:24:01 -07:00
Jeremy Saenz
a2844ae49f
Update README.md
2013-07-20 11:13:48 -07:00
Jeremy Saenz
c21c2776b8
Merge pull request #20 from codegangsta/JMS-5
...
Improved help by allowing help topics for subcommands
2013-07-20 10:49:11 -07:00
Jeremy Saenz
41dde0adab
JMS #5 : Displaying help for subcommands. Better looking help code
2013-07-20 10:46:47 -07:00
Jeremy Saenz
0dd327f6e5
JMS #5 : Starting support for subcommand docs
2013-07-20 10:20:46 -07:00
Jeremy Saenz
6dbfe20872
Added travis build status
2013-07-20 09:11:11 -07:00
Jeremy Saenz
cec8020631
Merge pull request #19 from codegangsta/JMS-7
...
Now using travis CI
2013-07-20 09:08:58 -07:00
Jeremy Saenz
bc62473936
JMS #7 : Adding go version 1.1
2013-07-20 09:06:27 -07:00
Jeremy Saenz
fc6dccda7f
JMS #7 : Adding travis config
2013-07-20 09:02:10 -07:00
Jeremy Saenz
3b769c19d9
Merge pull request #18 from codegangsta/JMS-16
...
JMS #16 : Added License
2013-07-20 08:51:32 -07:00
Jeremy Saenz
0bd64eace1
JMS #16 : Added License
2013-07-20 08:50:45 -07:00
Jeremy Saenz
d8cf49f0dd
Printing out version numbers
2013-07-20 08:44:09 -07:00
Jeremy Saenz
04490dabec
Minor tweaks and cleanup
2013-07-20 08:21:20 -07:00
Jeremy Saenz
2aab39bf49
Merge pull request #17 from codegangsta/JMS-14
...
Jms 14
2013-07-19 16:24:58 -07:00
Jeremy Saenz
580cc011fd
JMS #14 : More help cleanup
2013-07-19 15:23:42 -07:00
Jeremy Saenz
63b9f2823a
JMS #14 : Improved help. Brought help commadn back to commands
2013-07-19 15:10:34 -07:00
Jeremy Saenz
f14b9c0d81
JMS #4 : Better tests
2013-07-19 14:59:57 -07:00
Jeremy Saenz
6664835bc1
JMS #14 : Moving toward having and app object
2013-07-19 08:34:01 -07:00
Jeremy Saenz
435c4d704c
Merge pull request #13 from codegangsta/JMS-4
...
Jms 4
2013-07-19 07:52:23 -07:00
Jeremy Saenz
c15c42a7a8
JMS #4 : Command.HasName
2013-07-18 19:30:18 -07:00
Jeremy Saenz
4495e2e996
JMS #4 : Delegating to Command.Run
2013-07-18 19:23:00 -07:00
Jeremy Saenz
87d3b81d55
JMS #4 : Parsing arguments for subcommands as well
2013-07-18 19:17:33 -07:00
Jeremy Saenz
5bb6efd8bd
JMS #4 : Fixed compile error
2013-07-18 18:04:30 -07:00
Jeremy Saenz
393a533b66
JMS #4 : Removing tests from command_test
2013-07-18 18:03:40 -07:00
Jeremy Saenz
59b0ce24ef
JMS #4 : Support for global flags in cli.Context
2013-07-18 18:00:52 -07:00
Jeremy Saenz
3119b075d6
JMS #4 : Flag testing
2013-07-18 17:41:22 -07:00
Jeremy Saenz
3f76896c4f
JMS #4 : Getting some cli tests going. Testing out flags
2013-07-18 17:41:22 -07:00
Jeremy Saenz
04496e4364
JMS #4 : More WIP
2013-07-18 17:41:22 -07:00
Jeremy Saenz
3b0fc03a67
JMS #4 : Support for flag handling on command line
2013-07-18 17:41:22 -07:00
Jeremy Saenz
ff4e064e21
JMS #4 : Formatting
2013-07-18 17:41:22 -07:00
Jeremy Saenz
6f22315082
JMS #4 : Parsing command flags with context
2013-07-18 17:41:22 -07:00
Jeremy Saenz
5f85917dc2
JMS #4 : TDD Our options map
2013-07-18 17:41:22 -07:00
Jeremy Saenz
e2733adc45
JMS #4 : Kinda parsing flags now
2013-07-18 17:41:21 -07:00