clap-config-fallback 0.1.0

Add config file fallback to clap while preserving parsing, validation and error handling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
{
  "debug": true,
  "profile": "prod",
  "threads": 10,
  "server": {
    "url": "http://localhost:8080",
    "tls": {
      "enabled": true,
      "cert_path": "./certs/prod.pem"
    }
  }
}