[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ITP: golang-github-choueric-cmdmux -- Package cmdmux implements a command parser and router for terminal programme.

 ❦  9 février 2017 11:07 +0800, Haishan Zhou <zhssmail@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)

Attachment: signature.asc
Description: PGP signature

Reply to: