github.com/kevinburke/flagr (go): Package flagr rearranges flags so the options come first.  This exists because Go won't parse flag arguments ("-o" or "--opt") that come after positional arguments:  Sometimes this does the right thing - "go" takes different flags than "go build" for example and you don't want to parse "go" flags placed after "build". However sometimes you are at the end of the parse chain and anything that's left should be counted as an argument.  This does the dumbest possible thing which is to rearrange the flags so any options come first. Anything after `--` is ignored. A single `-` counts as a positional (i.e. non-flag) argument.
Keywords: flag|flags|golang|rearrangement