1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
use clap::Parser;
use fuel_crypto::SecretKey;
pub use super::submit::Network;
pub use forc::cli::shared::{BuildOutput, BuildProfile, Minify, Pkg, Print};
pub use forc_tx::{Gas, Maturity};
#[derive(Debug, Default, Parser)]
#[clap(bin_name = "forc run", version)]
pub struct Command {
    #[clap(flatten)]
    pub pkg: Pkg,
    #[clap(flatten)]
    pub minify: Minify,
    #[clap(flatten)]
    pub print: Print,
    #[clap(flatten)]
    pub gas: Gas,
    #[clap(flatten)]
    pub maturity: Maturity,
    #[clap(flatten)]
    pub build_output: BuildOutput,
    #[clap(flatten)]
    pub build_profile: BuildProfile,
    #[clap(long, env = "FUEL_NODE_URL")]
    pub node_url: Option<String>,
    #[clap(short, long)]
    pub data: Option<String>,
    #[clap(long)]
    pub dry_run: bool,
    #[clap(long = "pretty-print", short = 'r')]
    pub pretty_print: bool,
    #[clap(long = "contract")]
    pub contract: Option<Vec<String>>,
    #[clap(long)]
    pub simulate: bool,
    #[clap(long)]
    pub unsigned: bool,
    pub signing_key: Option<SecretKey>,
}