{"id":26447592,"url":"https://github.com/abitofhelp/rust_clap_figment","last_synced_at":"2025-03-18T13:57:50.146Z","repository":{"id":231621797,"uuid":"782247208","full_name":"abitofhelp/rust_clap_figment","owner":"abitofhelp","description":"This project demonstrates how to use Clap and Figment to implement hierarchical configuration in a Rust CLI application.  ","archived":false,"fork":false,"pushed_at":"2024-04-04T23:22:41.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-24T03:21:28.080Z","etag":null,"topics":["clap","clap-rs","figment","hierarchical-configuration","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abitofhelp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-04T23:20:54.000Z","updated_at":"2024-04-04T23:25:25.000Z","dependencies_parsed_at":"2024-04-05T01:28:42.820Z","dependency_job_id":null,"html_url":"https://github.com/abitofhelp/rust_clap_figment","commit_stats":null,"previous_names":["abitofhelp/rust_clap_figment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abitofhelp%2Frust_clap_figment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abitofhelp%2Frust_clap_figment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abitofhelp%2Frust_clap_figment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abitofhelp%2Frust_clap_figment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abitofhelp","download_url":"https://codeload.github.com/abitofhelp/rust_clap_figment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244236077,"owners_count":20420753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clap","clap-rs","figment","hierarchical-configuration","rust"],"created_at":"2025-03-18T13:57:49.533Z","updated_at":"2025-03-18T13:57:50.127Z","avatar_url":"https://github.com/abitofhelp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust_clap_figment\n\n## About\nThis project demonstrates how to use Clap and Figment to implement hierarchical configuration in a Rust CLI application.  \nBy default, Figment prioritizes its configuration sources opposite to our use, 'defaults \u003c file \u003c envvar \u003c cli',\nso some workarounds were required. Jesse Steezeburger (see: https://steezeburger.com/2023/03/rust-hierarchical-configuration) \npresented a set of workarounds, which were used in this application.\n\nThis application uses humantime::Duration for expressing duration values, such as \"10s\" and \"1000ms\", \nwhich provides self-documenting duration information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabitofhelp%2Frust_clap_figment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabitofhelp%2Frust_clap_figment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabitofhelp%2Frust_clap_figment/lists"}