The way it is implemented currently, it supports multiple commands. And it 
can be decided by checking the flags against their default values.

Maybe it should return a []string. Any specific suggestions?

On Thursday, December 7, 2017 at 7:13:57 PM UTC+3:30, rog wrote:
>
> On 7 December 2017 at 09:52, dc0d <kaveh.sh...@gmail.com <javascript:>> 
> wrote: 
> > Coming late, yet I've written a minimal package (which can be even just 
> > copied and paste or bundled) that uses only the flag package itself 
> without 
> > adding new types, just a single function. 
>
> I like the minimalism, but how are you supposed to know which subcommand 
> has been chosen? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to