Crates.io | cli-settings-derive |
lib.rs | cli-settings-derive |
version | 0.3.2 |
source | src |
created_at | 2023-09-18 19:51:23.93939 |
updated_at | 2024-10-05 20:16:59.553943 |
description | Manage CLI settings with configuration file(s) and command line parsing, using serde and clap |
homepage | |
repository | https://github.com/mic006/cli-settings-derive |
max_upload_size | |
id | 976200 |
size | 77,441 |
Use a derive macro with annotations on your Command Line Interface settings struct to manage the settings of your application:
By using annotations, each field can be configurable via the configuration file(s) and/or the command line.
cli-settings-derive can be seen as a top layer above
See doc.rs documentation for detailed documentation and an example.
See the crate repository for a complete working example, with: