As of #39 the application always reads from the local.yml config file.
Requirements
Add command line arg parsing to pass the path to the chosen yaml config file.
Describe the solution you'd like
Use clap to parse a command line arg. Could also potentially use structopt for a more struct defined implementation.
assert_cmd should be used as a command line testing library.
Background
As of #39 the application always reads from the
local.yml
config file.Requirements
Add command line arg parsing to pass the path to the chosen yaml config file.
Describe the solution you'd like
Use
clap
to parse a command line arg. Could also potentially usestructopt
for a more struct defined implementation.assert_cmd
should be used as a command line testing library.Additional context
https://crates.io/crates/clap https://crates.io/crates/structopt https://crates.io/crates/assert_cmd