use crate::Tx;
use structopt::StructOpt;
pub mod call;
pub mod deploy;
pub mod info;
pub mod list;
#[derive(Debug, StructOpt)]
#[structopt(name = "inkpad")]
pub struct Opt {
#[structopt(
name = "*.contract | name | code-hash",
help = "If empty, inkpad will load the last contract which has been executed"
)]
pub contract: Option<String>,
#[structopt(subcommand)]
pub command: Command,
}
#[derive(Debug, StructOpt)]
pub enum Command {
List,
Info,
Deploy(Tx),
Call(Tx),
}