hwylterm/cligen

Source   Edit  

Hwylterm cligen adapter

Adapter to add hwylterm colors to cligen output.

import cligen, hwylterm/cligen
proc fun(a: string = "b") =
  echo a
hwylCLi(clCfg)
dispatch fun, help = {"a": "option a"}

Procs

func `//`[A, B](p: openArray[(A, B)]): Table[A, B]
Source   Edit  
func `//`[A, B](p: openArray[(A, B)]; t: Table[A, B]): Table[A, B]
Source   Edit  
func `//`[A, B](t1: Table[A, B]; t2: Table[A, B]): Table[A, B]
Source   Edit  
func `//`[A, B](t1: var Table[A, B]; t2: Table[A, B])
Source   Edit  
func `//`[A, B](t: Table[A, B]; p: openArray[(A, B)]): Table[A, B]
Source   Edit  
proc hwylCli(clcfg: var ClCfg; styles: CligenStyle = CligenStyle();
             useMulti: string = useMulti; useHdr: string = useHdr;
             use: string = use) {....raises: [], tags: [], forbids: [].}
Source   Edit