jhowarth
|
6023f370c1
|
dry error messages
|
2015-03-02 12:00:21 -08:00 |
|
jhowarth
|
e67e05f617
|
DRY error handling
|
2015-03-02 11:56:29 -08:00 |
|
jhowarth
|
cbd95292ac
|
Remove debugging
|
2015-03-02 11:18:59 -08:00 |
|
Jesse Howarth and Michael Ivey
|
7e05320026
|
Implement required flags
|
2014-12-02 17:44:55 +00:00 |
|
Peter Bourgon
|
179c7a5f7c
|
Make -v, --version optional
|
2014-11-12 12:38:58 +01:00 |
|
Audrius Butkevicius
|
e38bac8225
|
Print author
|
2014-07-26 22:03:32 +01:00 |
|
Jeremy Saenz
|
8c34b12d83
|
Merge pull request #114 from AudriusButkevicius/shortcut
Add App.RunAndExitOnError shortcut
|
2014-07-15 12:30:47 -07:00 |
|
Audrius Butkevicius
|
449f261ee9
|
Add App.RunAndExitOnError shortcut
|
2014-07-13 18:56:43 +01:00 |
|
Audrius Butkevicius
|
4a645835f0
|
Add HideHelp flag in App and Command
|
2014-07-13 18:51:09 +01:00 |
|
Philippe Lafoucrière
|
df5fb46048
|
Fix global flags in Subcommands
closes #69
|
2014-07-06 11:04:48 +02:00 |
|
Summer Mousa
|
a911ec75e4
|
Can now change these default flags in other applications
|
2014-04-29 09:21:19 -05:00 |
|
Jeremy Saenz
|
5e1cde20d3
|
Merge pull request #75 from Winslett/command-not-found
Customizable command not found function
|
2014-04-22 20:33:49 -07:00 |
|
Summer Mousa
|
2535376782
|
If the Subcommand is instantiated, via the Before method and has no subcommands, display the CommandHelp instead of the SubcommandHelp
|
2014-04-17 11:48:00 -05:00 |
|
Summer Mousa
|
faf2a3d4a3
|
Added Before method to command. If set, or if command.Subcommands is set, then the command is treated as a recursive subcommand
|
2014-04-16 15:26:28 -05:00 |
|
Summer Mousa
|
13f0c8c0f6
|
More consistent implementation of recursive subcommands
|
2014-04-16 11:18:00 -05:00 |
|
Summer Mousa
|
3a10545f91
|
Made bash completion command optional; still need to update documentation
|
2014-04-12 08:32:53 -05:00 |
|
Summer Mousa
|
0b29bee364
|
merging code
|
2014-04-10 12:14:13 -05:00 |
|
Chris Winslett
|
37299d4e5a
|
Customizable command not found function
|
2014-03-30 20:46:02 -07:00 |
|
Greg B
|
f7c1cd9a11
|
Add before function to app
|
2014-01-06 15:06:31 -08:00 |
|
Katrina Owen
|
7d08fb3da5
|
Add shortcut for version flag
|
2013-12-02 14:55:24 -08:00 |
|
Jeremy Saenz
|
01b889e637
|
Merge branch 'master' of github.com:xyproto/cli into xyproto-master
Conflicts:
app.go
context.go
|
2013-11-28 07:51:31 -08:00 |
|
Alexander Rødseth
|
1bea6dcbf0
|
Custom type for arguments
|
2013-11-24 14:40:21 +01:00 |
|
Jeremy Saenz
|
4120b604ec
|
Removed help flag. we no longer need it.
|
2013-11-20 17:24:37 -08:00 |
|
Jared Forsyth
|
dc8a62e0e9
|
refactor, more robust flag propagation
|
2013-11-20 01:05:18 -07:00 |
|
Jared Forsyth
|
ccb1528bb0
|
adding multi-named flags
|
2013-11-18 16:35:23 -07:00 |
|
Alexander Rødseth
|
7050f048d1
|
Added simple man page support
|
2013-11-15 12:40:18 +01:00 |
|
Alexander Rødseth
|
f93652a890
|
Fixed all problems/warnings reported by "go vet"
|
2013-11-15 11:35:24 +01: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
|
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 |
|
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
|
70eacca641
|
JMS #25: Added support for help flags
|
2013-07-24 07:35:45 -07:00 |
|
Jeremy Saenz
|
ed1ee94250
|
Adding some docs
|
2013-07-20 15:50:13 -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
|
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
|
6664835bc1
|
JMS #14: Moving toward having and app object
|
2013-07-19 08:34:01 -07:00 |
|