{"repo":"piotr-yuxuan/malli-cli","free":true,"listed":false,"github":"https://github.com/piotr-yuxuan/malli-cli","clone":"git clone https://github.com/piotr-yuxuan/malli-cli.git","description":"Configuration powertool with `metosin/malli`","language":"Clojure","stars":57,"topics":["cli","cli-app","command-line","command-line-tool","clojure","malli","args-parser","configuration","configuration-management","environment-variable"],"license":"EUPL-1.2","category":"cli-tools","readme_excerpt":"piotr-yuxuan/malli-cli Configuration powertool with metosin/malli . What it offers This library provides out-of-the-box: - Configuration sourcing from command line arguments, environment variables, or any other configuration management tool you want to integrate with; - Very expressive means to describe the configuration you expect; - An agnostic way to protect secrets in your config that turn them into opaque, non-printable values, while still being able to decode them and access the original value when need be; - Seamless and powerful CLI generation based on your config schema, returns a map representing the parsed, decoded arguments and environment variables you are interested in. The returned map can be used as a config fragment, that you can later merge with the config value provided by any other system. As such it intends to play nicely with configuration tools, so the actual configuration value of your program is a map that is a graceful merge of several overlapping config fragment: 1. Default configuration value; 2. Environment variables when the program starts up; 3. Value from some configuration management system; 4. Command line arguments. The expected shape of your configuration being described as a malli schema so you can parse and decode strings as well as validating any constraints. It's quite powerful. Maturity and evolution Break versioning is used, so no breaking changes will be introduced without incrementing the major version. Some bug fixes may be introdu","default_branch":null,"files":null,"tree":[],"storefront":"/r/piotr-yuxuan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/piotr-yuxuan/malli-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."}