Open Verdagon opened 3 years ago
Including data in bibary rusts include_srr macro for exampke
structopt
defines some argument parsing for us.
#[derive(Debug, Clone, Serialize, Deserialize, StructOpt)]
#[structopt(name = "fountain")]
pub struct FountainArgs {
#[structopt(short, long)]
pub build: bool,
#[structopt(short, long)]
pub run: bool,
...
}
Not that we have to aim to do it just like they did, but this should be easy to do with vale.
I think the core need here is associating certain data with certain fields.
Some use cases: