feat(cli): add version cli flag (#216)
This commit is contained in:
parent
f5760f7a8a
commit
2e6b948c8f
|
@ -524,7 +524,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "cli"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"client",
|
||||
|
@ -541,7 +541,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "client"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"common",
|
||||
"config",
|
||||
|
@ -645,7 +645,7 @@ checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
|
|||
|
||||
[[package]]
|
||||
name = "common"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"ethers",
|
||||
"eyre",
|
||||
|
@ -657,7 +657,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "config"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"common",
|
||||
"ethers",
|
||||
|
@ -677,7 +677,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "consensus"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"bytes",
|
||||
|
@ -1528,7 +1528,7 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
|
|||
|
||||
[[package]]
|
||||
name = "execution"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"bytes",
|
||||
|
@ -2026,7 +2026,7 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
|||
|
||||
[[package]]
|
||||
name = "helios"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"client",
|
||||
"common",
|
||||
|
|
|
@ -17,6 +17,7 @@ members = [
|
|||
"execution",
|
||||
"helios-ts",
|
||||
]
|
||||
default-members = ["cli"]
|
||||
|
||||
[profile.bench]
|
||||
debug = true
|
||||
|
|
|
@ -80,6 +80,8 @@ fn get_config() -> Config {
|
|||
}
|
||||
|
||||
#[derive(Parser)]
|
||||
#[clap(version, about)]
|
||||
/// Helios is a fast, secure, and portable light client for Ethereum
|
||||
struct Cli {
|
||||
#[clap(short, long, default_value = "mainnet")]
|
||||
network: String,
|
||||
|
|
Loading…
Reference in New Issue