Jeremy Saenz
806cdc2890
removed dead test
2013-11-20 17:26:27 -08:00
Jeremy Saenz
ab6f1b7c3c
Formatting
2013-11-20 17:25:13 -08:00
Jeremy Saenz
4120b604ec
Removed help flag. we no longer need it.
2013-11-20 17:24:37 -08:00
Jared Forsyth
37eef5912e
add info about alternate flag names to the readme
2013-11-20 00:10:52 -08:00
Jared Forsyth
dc8a62e0e9
refactor, more robust flag propagation
2013-11-20 01:05:18 -07:00
Jared Forsyth
73e88630a5
fmt
2013-11-18 16:37:59 -07:00
Jared Forsyth
ccb1528bb0
adding multi-named flags
2013-11-18 16:35:23 -07:00
Jeremy Saenz
ea3ef24c9d
Update README.md
...
Added API docs url
2013-11-01 07:41:43 -07:00
Jeremy Saenz
4f38b0cbbf
Merge pull request #40 from codegangsta/JMS-39
...
App.Run() now returns an error if there was one. No more calls to os.Exit()
2013-11-01 07:36:14 -07:00
Jeremy Saenz
b25b7a883c
JMS #39 : Removed all calls to os.Exit().
2013-11-01 07:33:39 -07:00
Jeremy Saenz
e6e641143c
JMS #39 : App.Run returns an error
2013-11-01 07:33:15 -07:00
Jeremy Saenz
0d3c3f4497
Improved documentation
2013-11-01 07:31:37 -07:00
Jeremy Saenz
3c97f95b6a
Merge pull request #38 from thesyncim/master
...
add ability to parse []string types
2013-09-26 15:06:15 -07:00
Thesyncim
ed96efff1b
add simple test , fix errors and unused interface SliceFlag
2013-09-24 20:36:01 +01:00
Thesyncim
4d9038a156
add ability to parse []string types
2013-09-24 02:41:31 +01:00
Jeremy Saenz
e8d8047f49
Merge pull request #36 from dam5s/master
...
Allow for flags being passed in after arguments
2013-09-19 12:52:16 -07:00
Damien Le Berrigaud
5d511c7a8b
Allow for flags being passed in after arguments
2013-09-18 10:37:03 -06:00
Jeremy Saenz
e3ea5e29b0
Merge pull request #35 from codegangsta/JMS-34
...
JMS-34: App.Run() can now be run multiple times.
2013-09-14 16:19:43 -07:00
Jeremy Saenz
e5c31ab592
JMS-34: App.Run() can now be run multiple times.
...
- Added a method for looking up commands
- Using some logic to make sure default flags are not added more than
once
2013-09-14 16:10:38 -07:00
Jeremy Saenz
02252ed208
Merge pull request #32 from dam5s/print_usage
...
Show usage and exit with error whenever arguments parsing fails
2013-09-14 09:58:25 -07:00
Jeremy Saenz
dc056c5f22
Merge pull request #33 from dam5s/flag_tweaks
...
Flag tweaks
2013-09-12 08:47:12 -07:00
Mike Gehard
1a1d6bd163
Vary flag prefix based on name length
2013-09-09 11:52:12 -07:00
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