Sean Ervin 8652d9d6cd | ||
---|---|---|
src | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
readme.md |
readme.md
CLI Argument provider for Figment
This crate is a pretty simple implementation for getting config options from cli arguments.
Usage
CLI Arguments:
./program --db.name=my-database --host=my-host --port=5432 --user=my-user --password=my-password
TOML config:
[db]
name = "my-database"
host = "localhost"
port = 5432
user = "my-user"
password = "my-password"