structopt-toml icon indicating copy to clipboard operation
structopt-toml copied to clipboard

An default value loader from TOML for structopt

Results 5 structopt-toml issues
Sort by recently updated
recently updated
newest added

Updates the requirements on [toml](https://github.com/toml-rs/toml) to permit the latest version. Commits 2e99658 chore: Release 61a68e5 docs: Update changelog 7b110a0 Merge pull request #649 from epage/fix e162e9f fix: Remove unused dependencies...

dependencies

Hi, thanks for this crate, its premise seems very useful :) I'm running into an issue though: `from_args_with_toml` doesn't seem to overwrite toml-specified field values with cli-specified values when the...

I'm not sure if this is possible with the approach the crate uses, but I think it would be nice if you could have options that must be specified at...

since https://github.com/dalance/structopt-toml/pull/7 , `flatten` is very useful, but i found follow code will raise error. ``` use serde_derive::Deserialize; use structopt::StructOpt; use structopt_toml::StructOptToml; #[derive(Debug, Deserialize, StructOpt, StructOptToml)] #[serde(default)] struct Outer {...

https://github.com/dalance/structopt-toml/blob/2cb3d47eabd1d0c182218e7a8646d2e82ed75422/structopt-toml-derive/src/lib.rs#L54-L58 Isn't it incorrect to call `from_args` when say `from_clap_with_toml` initiates a merge? `from_args` assumes that all of the process arguments are being parsed. But `from_clap_with_toml`'s `ArgMatches` argument could refer...