clap-config-file
github.com · Package · Quiet
Derive macro that adds config file support to clap CLI arguments
- Developer tools
- Package
- Rust
- Day-7 check
- Day-30 check
- Stars
- 12
- Forks
- 0
- Open issues
- 3
- Last commit
- Releases
- 6
- Found
- 22 months ago
GitHub figures as of . They are context, not a ranking.
clap-config-file is a Rust procedural macro that adds config file support to clap command-line parsers. A single struct can serve both CLI arguments and a YAML, TOML or JSON config file, with command-line values overriding the file by default. It suits Rust developers who want one definition for both sources.
Repository description on GitHub: “A proc macro for adding config file support to clap”
What it does
- Derive macro that uses one struct for CLI and config
- Supports YAML, TOML and JSON config formats
- Per-field options that control which sources a value can come from
Good for
- Let a Rust CLI read defaults from a config file
- Keep CLI flags and config keys in one struct
Suits: Rust developers building CLI tools with clap.
What you can try
Add the crate from crates.io to a Rust project and derive the macro on your config struct.
Install
cargo install clap-config-fileConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw clap-config-file on , when it was first published on crates.io. The oldest published release on GitHub is v0.1.0, dated . Its first tagged release landed the same day it was found. 6 releases have been published in total; the latest is v0.6.0 ().
Day-7 and day-30 updates
Day 7 3 releases shipped
Checked , later than day 7 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: bodo-run/clap-config-file
- Release v0.1.0
- Found: it was first published on crates.io. crates.io
- Release v0.2.0
- Release v0.3.0
- Release v0.4.0
- Release v0.5.0
- Release v0.6.0
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was clap-config-file released?
- Its first tagged release on GitHub is dated 27 Jan 2025. Kip found it on crates.io on 27 Jan 2025.
- Is clap-config-file open source?
- Its source is public on GitHub at bodo-run/clap-config-file; check the repository for licence terms.
- What does clap-config-file run on?
- Library.
- Is clap-config-file free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is clap-config-file still maintained?
- It has had no commit or release for over a year as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| crates.io | listing official API record | |
| GitHub repository | bodo-run/clap-config-file REST API record | |
| GitHub Releases | release list REST API record |
Stable ID crates-clap-config-file. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.