{"repo":"leanprover/lean4-cli","free":true,"listed":false,"github":"https://github.com/leanprover/lean4-cli","clone":"git clone https://github.com/leanprover/lean4-cli.git","description":"A Lean 4 library for configuring Command Line Interfaces and parsing command line arguments.","language":"Lean","stars":118,"topics":["lean","lean4","cli"],"license":"MIT","category":"cli-tools","readme_excerpt":"lean4-cli This project is maintained by @mhuisi. Usage See the documentation of Lake. Configuration Commands are configured with a lightweight DSL. The following declarations define a command exampleCmd with two subcommands installCmd and testCmd . runExampleCmd denotes a handler that is called when the command is run and is described further down below in the Command Handlers subsection. Command handlers The command handler runExampleCmd demonstrates how to use the parsed user input. Running the command Below you can find some simple examples of how to pass user input to the Cli library. Help Upon calling -h , the above configuration produces the following help. The full example can be found under ./CliTest/Example.lean . Ad Hoc Documentation This section documents only the most common features of the library. For the full documentation, peek into ./Cli/Basic.lean and ./Cli/Extensions.lean ! All definitions below live in the Cli namespace.","default_branch":null,"files":null,"tree":[],"storefront":"/r/leanprover","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/leanprover/lean4-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}