[pkg-go] ITP: golang-github-choueric-cmdmux -- Package cmdmux implements a command parser and router for terminal programme.

Vincent Bernat bernat at debian.org
Thu Feb 9 06:18:38 UTC 2017


 ❦  9 février 2017 11:07 +0800, Haishan Zhou <zhssmail at gmail.com> :

> Multi-level sub commands. cli or subcommands can create app behaving
> like git which has only one subcommand level, such as "$ git commit
> [options]". But I hope to implement the something like "$ kbdashboard
> build image" or "$ kbdashboard install image".  The pattern is like
> "build/image" and "install/image".
>
> Because there may be many levels for sub-commands, I think a
> completion file is important. It can help user utilise this program
> more effectively.

spf13/cobra does that too.
-- 
Make sure every module hides something.
            - The Elements of Programming Style (Kernighan & Plauger)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20170209/b690ab2d/attachment.sig>


More information about the Pkg-go-maintainers mailing list