Go to file
SeanOMik 9635684d91
Fix typo in readme.md
2023-04-25 21:29:21 -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 Fix typo in readme.md 2023-04-25 21:29:21 -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 --db.host=my-host --db.port=5432 --db.user=my-user --db.password=my-password

TOML config:

[db]
name = "my-database"
host = "localhost"
port = 5432
user = "my-user"
password = "my-password"