multisol-structs 1.1.0

Collection of structs shared across the multisol crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::path::PathBuf;

use structopt::StructOpt;

#[derive(StructOpt)]
#[structopt(
    name = "multisol",
    about = "Command-line application for verifying Solidity contracts on Etherscan."
)]
pub struct Cli {
    /// The path to the Solidity contract to look for
    #[structopt(parse(from_os_str))]
    pub contract_path: PathBuf,
    /// Disable the Solidity optimizer, which is enabled by default
    #[structopt(long, parse(try_from_str))]
    pub no_optimization: Option<bool>,
}