various linked executables named after the subcommands of the main program.
For example, we might be able to call the program as "busybox help," or you
could create a symlink called 'help' that points to the busybox executable.
When executed, ./help should execute as if it was the only available
command, its own help page, etc. So, busybox needs to be able to determine
how it was called, and execute the subcommand as if it the "root" command.
I've been looking at different cli argument parsing packages and techniques
and haven't seen anything that matches up easily with this style of
development. I think I can mange to get cobra to do this, but I'm
wondering if there is anything out there already that is doing this, or any
example projects on how best to do this in go.
Thanks,
Ben
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.