Go to file
Sean Ervin 8652d9d6cd Push code 2022-08-08 22:38:05 -04:00
src Push code 2022-08-08 22:38:05 -04:00
.gitignore Push code 2022-08-08 22:38:05 -04:00
Cargo.toml Push code 2022-08-08 22:38:05 -04:00
LICENSE Push code 2022-08-08 22:38:05 -04:00
readme.md Push code 2022-08-08 22:38:05 -04:00

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"