Last active
March 17, 2020 11:14
-
-
Save trimoq/3fd891bb9ff8a37ff9a1e2f7c92f23cc to your computer and use it in GitHub Desktop.
excerpt of the config struct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(StructOpt, Debug, Clone)] | |
#[structopt(name = "downloader")] | |
pub struct ConverterConfig{ | |
#[structopt(short = "r", long, default_value = "eu-east2", env = "S3_REGION_NAME")] | |
pub s3_region_name: String, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment