131 Commits (main)

Author SHA1 Message Date
Audrius Butkevicius 6f8cfa703a Add Args.Swap command for swapping arguments
10 years ago
Artem Nezvigin 71e3acacd2 Add FlagNames() method to Context
10 years ago
Jeremy Saenz bb9189510a Merge pull request #81 from zenoss/upstream/feature/generic-flags
10 years ago
Summer Mousa 1eaa882c3a removed extranneous value method on the generic type
10 years ago
Summer Mousa 13e88629f5 Generic parsers as flag types
10 years ago
Chris Winslett c69522c960 Make Command accessible from Context
10 years ago
Yicheng Qin ce13660ae0 fix(context): copy StringSlice Flag correctly
10 years ago
Yicheng Qin 5903a0a844 Add BoolTFlag type
10 years ago
fraenkel f88df0aa5a Allow optional flags by asking if its been set/present on the command line
11 years ago
Katrina Owen ce737fe01e Fix typo in godoc for Float64
11 years ago
Jeremy Saenz 7be170c042 Added godoc for Float64
11 years ago
Katrina Owen 2ec51afe91 Implement Float64Flag. See #46
11 years ago
Jeremy Saenz a4d75ab69e Moved some code around in context.go
11 years ago
Jeremy Saenz 01b889e637 Merge branch 'master' of github.com:xyproto/cli into xyproto-master
11 years ago
Alexander Rødseth 1bea6dcbf0 Custom type for arguments
11 years ago
Jeremy Saenz ab6f1b7c3c Formatting
11 years ago
Jeremy Saenz 4120b604ec Removed help flag. we no longer need it.
11 years ago
Jared Forsyth dc8a62e0e9 refactor, more robust flag propagation
11 years ago
Jared Forsyth 73e88630a5 fmt
11 years ago
Jared Forsyth ccb1528bb0 adding multi-named flags
11 years ago
Alexander Rødseth 30d83a70a7 Added two convenience functions for retrieving arguments
11 years ago
Jeremy Saenz 0d3c3f4497 Improved documentation
11 years ago
Thesyncim ed96efff1b add simple test , fix errors and unused interface SliceFlag
11 years ago
Thesyncim 4d9038a156 add ability to parse []string types
11 years ago
Jeremy Saenz 70eacca641 JMS #25: Added support for help flags
11 years ago
Andy Hamilton 076e26d30f Fixed the warnings on package install
11 years ago
Jeremy Saenz 6664835bc1 JMS #14: Moving toward having and app object
11 years ago
Jeremy Saenz 59b0ce24ef JMS #4: Support for global flags in cli.Context
11 years ago
Jeremy Saenz 3f76896c4f JMS #4: Getting some cli tests going. Testing out flags
11 years ago
Jeremy Saenz ff4e064e21 JMS #4: Formatting
11 years ago
Jeremy Saenz 6f22315082 JMS #4: Parsing command flags with context
11 years ago