web3-proxy/web3_proxy/src/bin/web3_proxy_cli/example.rs
Bryan Stitt 0cfe5bbb8a cleanup
2022-08-15 17:23:56 +00:00

17 lines
305 B
Rust

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!()
}
}