c-blake/cligen

Nim library to infer/generate command-line-interfaces / option / argument parsing; Docs at

NimOther
This is stars and forks stats for /c-blake/cligen repository. As of 01 May, 2024 this repository has 467 stars and 22 forks.

cligen: A Native API-Inferred Command-Line Interface Generator For Nim This approach to CLIs was inspired by Andrey Mikhaylenko's Python argh (Click became more popular). The key observation is that proc signatures already encode what you need to generate CLIs - names, types, and default values. Reflection then suffices to generate parser-dispatchers translating seq[string] command input into calls to a wrapped proc. In Nim, adding a CLI can be 1-line of code: proc fun(foo=1,bar=2.0,baz="x",verb=false,args:...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
ee7/binary-sizeNimShell27000
svix/svix-webhooksRustC#Java1.7k01140
Normation/rudder-toolsSmartyPythonShell120210
spalladino/zkp-testsSolidityRustMakefile98060
huntabyte/showcaseSvelteJavaScriptOther720290
c22dev/TrollBoxSwiftObjective-CC2880130
AnimeNow-Team/AnimeNowSwiftOther5410290
bvaughn/react-resizable-panelsTypeScriptCSSOther2.1k0720
tridactyl/tridactylTypeScriptCSSJavaScript4.6k03860
module-federation/universeTypeScriptJavaScriptHandlebars67801060