| 39 | } |
| 40 | |
| 41 | type flagContext struct { |
| 42 | flagsets map[string]FlagSet |
| 43 | args []string |
| 44 | cmdFlags map[string]FlagSet //valid flags for command |
| 45 | cursor int |
| 46 | skipFlagParsing bool |
| 47 | } |
| 48 | |
| 49 | func New() FlagContext { |
| 50 | return &flagContext{ |
nothing calls this directly
no outgoing calls
no test coverage detected