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

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



 Package: wnpp                                                                  
 Severity: wishlist                                                             
 Owner: Haishan Zhou <zhssmail@gmail.com>                                       
                                                                                
 * Package name    : golang-github-choueric-cmdmux                              
   Version         : 0.0~git20170123.0.ca9eb96-1                                
   Upstream Author : Haishan Zhou                                               
 * URL             : https://github.com/choueric/cmdmux                         
 * License         : GPL-3.0                                                    
   Programming Lang: Go                                                         
   Description     : Package cmdmux implements a command parser and router for terminal programme.
                                                                                
  It helps build terminal programmes which have many sub-commands. By registering
  a pair of command and handler, such as "build kernel" and buildKernelHandler(),
  the programme can invoke this handler when the command line is like:          
                                                                                
    "./programe build kernel"                                                   
                                                                                
  Highlights include:                                                           
                                                                                
    - It is able to print the commands tree like programme "tree" does.         
    - It is able to generate the bash completion file from the commands tree.

Reply to: