Skip to content

Commit

Permalink
refactor: cleanup config
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Asseman <[email protected]>
  • Loading branch information
aasseman committed Nov 10, 2023
1 parent 8515c03 commit c4ac00c
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tap-agent/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@ pub struct Cli {
#[derive(Clone, Debug, Args, Serialize, Deserialize, Default)]
#[group(required = true, multiple = true)]
pub struct Ethereum {
#[clap(
long,
value_name = "mnemonic",
env = "MNEMONIC",
help = "Mnemonic for the operator wallet"
)]
pub mnemonic: String,
#[clap(
long,
value_name = "indexer-address",
Expand Down Expand Up @@ -81,7 +74,7 @@ pub struct Receipts {
}

#[derive(Clone, Debug, Args, Serialize, Deserialize, Default)]
#[group(required = true, multiple = true)]
#[group(multiple = true)]
pub struct IndexerInfrastructure {
#[clap(
long,
Expand Down Expand Up @@ -162,7 +155,7 @@ pub struct Postgres {
}

#[derive(Clone, Debug, Args, Serialize, Deserialize, Default)]
#[group(required = true, multiple = true)]
#[group(multiple = true)]
pub struct NetworkSubgraph {
#[clap(
long,
Expand Down

0 comments on commit c4ac00c

Please sign in to comment.