struct Args {
episode: Option<String>,
cast: Option<String>,
show: Option<String>,
backend: String,
chatterbox_python: Option<String>,
voice_refs: String,
device: String,
sample_text: Option<String>,
dry_run: bool,
force: bool,
}Fields§
§episode: Option<String>Episode tag (e.g. S02E03); derives cast config path
cast: Option<String>Explicit path to cast JSON file
show: Option<String>Show name override (default: from project.json)
backend: String§chatterbox_python: Option<String>Path to the chatterbox venv Python (default: auto-detect ./venv-chatterbox/bin/python3). Used with –backend chatterbox or chatterbox-turbo.
voice_refs: StringDirectory containing <speaker_key>.wav reference clips for Chatterbox zero-shot voice cloning (default: voice_refs/). Used with –backend chatterbox or chatterbox-turbo.
device: StringDevice for –backend chatterbox-turbo (default: cuda). The worker auto-falls back to cpu when cuda is requested but unavailable, so this rarely needs setting explicitly — pass ‘cpu’ to force it even when cuda would work. Slower on cpu, but functional.
sample_text: Option<String>Override the sample text spoken by each voice. Use {name} as a placeholder for the speaker’s full name. Default: “I am {name} not yo momma”
dry_run: boolPrint what would be generated without calling any TTS API
force: boolRegenerate samples even if files already exist on disk
Trait Implementations§
Source§impl Args for Args
impl Args for Args
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl FromArgMatches for Args
impl FromArgMatches for Args
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.