pub enum Commands {
Show 17 variants
Bundlr {
keypair: Option<String>,
rpc_url: Option<String>,
action: BundlrAction,
},
Collection {
command: CollectionSubcommands,
},
Config {
command: ConfigSubcommands,
},
Deploy {
config: String,
keypair: Option<String>,
rpc_url: Option<String>,
cache: String,
collection_mint: Option<String>,
},
Freeze {
command: FreezeCommand,
},
Guard {
command: GuardCommand,
},
Hash {
config: String,
cache: String,
compare: Option<String>,
},
Launch {
assets_dir: String,
keypair: Option<String>,
config: String,
rpc_url: Option<String>,
cache: String,
strict: bool,
skip_collection_prompt: bool,
},
Mint {
keypair: Option<String>,
rpc_url: Option<String>,
cache: String,
number: Option<u64>,
receiver: Option<String>,
candy_machine: Option<String>,
},
Airdrop {
keypair: Option<String>,
rpc_url: Option<String>,
cache: String,
candy_machine: Option<String>,
airdrop_list: String,
},
Reveal {
keypair: Option<String>,
rpc_url: Option<String>,
cache: String,
config: String,
timeout: Option<u64>,
},
Show {
keypair: Option<String>,
rpc_url: Option<String>,
cache: String,
candy_machine: Option<String>,
unminted: bool,
},
Sign {
keypair: Option<String>,
rpc_url: Option<String>,
cache: String,
mint: Option<String>,
candy_machine_id: Option<String>,
},
Upload {
assets_dir: String,
config: String,
keypair: Option<String>,
rpc_url: Option<String>,
cache: String,
},
Validate {
assets_dir: String,
strict: bool,
skip_collection_prompt: bool,
},
Verify {
keypair: Option<String>,
rpc_url: Option<String>,
cache: String,
},
Withdraw {
candy_machine: Option<String>,
keypair: Option<String>,
rpc_url: Option<String>,
list: bool,
},
}Variants§
Bundlr
Interact with the bundlr network
Fields
keypair: Option<String>Path to the keypair file, uses Sol config or defaults to “~/.config/miraland/id.json”
action: BundlrActionCollection
Manage the collection on the candy machine
Fields
command: CollectionSubcommandsConfig
Manage candy machine configuration
Fields
command: ConfigSubcommandsDeploy
Deploy cache items into candy machine config on-chain
Fields
Freeze
Manage freeze guard actions
Fields
command: FreezeCommandGuard
Manage guards on the candy machine
Fields
command: GuardCommandHash
Generate hash of cache file for hidden settings.
Fields
Launch
Create a candy machine deployment from assets
Fields
Mint
Mint one NFT from candy machine
Fields
Airdrop
Airdrop NFTs from candy machine
Fields
Reveal
Reveal the NFTs from a hidden settings candy machine
Fields
Show
Show the on-chain config of an existing candy machine
Fields
Sign
Sign one or all NFTs from candy machine
Fields
Upload
Upload assets to storage and creates the cache config
Fields
Validate
Validate JSON metadata files
Fields
Verify
Verify uploaded data
Fields
Withdraw
Withdraw funds a from candy machine account closing it
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
Source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more