web3-proxy/web3_proxy/src/bin/web3_proxy_cli/example.rs

17 lines
305 B
Rust
Raw Normal View History

use argh::FromArgs;
#[derive(FromArgs, PartialEq, Debug)]
/// Second subcommand.
#[argh(subcommand, name = "two")]
pub struct SubCommandTwo {
#[argh(switch)]
/// whether to fooey
fooey: bool,
}
impl SubCommandTwo {
pub async fn main(self) -> anyhow::Result<()> {
todo!()
}
}