pub enum CommandArguments {
Config,
Batch {
shared: SharedOptions,
target: TargetOptions,
verify: VerifyOptions,
runner: RunnerOptions,
spectrogram: SpectrogramOptions,
file: FileOptions,
batch: BatchOptions,
},
Spectrogram {
shared: SharedOptions,
spectrogram: SpectrogramOptions,
runner: RunnerOptions,
},
Transcode {
shared: SharedOptions,
target: TargetOptions,
file: FileOptions,
runner: RunnerOptions,
},
Upload {
shared: SharedOptions,
target: TargetOptions,
upload: UploadOptions,
},
Verify {
shared: SharedOptions,
target: TargetOptions,
verify: VerifyOptions,
},
}Expand description
Cli sub-commands and arguments
Variants§
Config
Generate a config.json file in the current working directory.
Batch
Verify, transcode, and upload from multiple FLAC sources in one command.
Fields
§
target: TargetOptions§
verify: VerifyOptions§
runner: RunnerOptions§
spectrogram: SpectrogramOptions§
file: FileOptions§
batch: BatchOptionsSpectrogram
Generate spectrograms for each track of a FLAC source.
Transcode
Transcode each track of a FLAC source to the target formats.
Upload
Upload transcodes of a FLAC source.
Verify
Verify a FLAC source is suitable for transcoding.
Trait Implementations§
source§impl Clone for CommandArguments
impl Clone for CommandArguments
source§fn clone(&self) -> CommandArguments
fn clone(&self) -> CommandArguments
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CommandArguments
impl Debug for CommandArguments
source§impl FromArgMatches for CommandArguments
impl FromArgMatches for CommandArguments
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>
Assign values from
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>
Assign values from
ArgMatches to self.source§impl Subcommand for CommandArguments
impl Subcommand for CommandArguments
source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moresource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for CommandArguments
impl RefUnwindSafe for CommandArguments
impl Send for CommandArguments
impl Sync for CommandArguments
impl Unpin for CommandArguments
impl UnwindSafe for CommandArguments
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)