struct Args {
path: Option<PathBuf>,
json: bool,
speakers: Option<PathBuf>,
show: Option<String>,
sfx: Option<PathBuf>,
episode: Option<String>,
harvest_cast: bool,
backfill_cast: bool,
scripts_dir: Option<PathBuf>,
yes: bool,
dry_run: bool,
}Fields§
§path: Option<PathBuf>Path to the markdown production script (required unless –harvest-cast or –backfill-cast)
json: boolOutput machine-readable JSON instead of the human report
speakers: Option<PathBuf>Path to speakers.json (default: auto-detect from CWD, then built-in)
show: Option<String>Show name override — selects configs/{slug}/speakers.json (default: from project.json)
sfx: Option<PathBuf>Path to sfx_
episode: Option<String>Episode tag (e.g. S04E04) — auto-discovers sfx config when –sfx is omitted
harvest_cast: boolScan all scripts in scripts/ for CAST: blocks and report speakers missing from speakers.json
backfill_cast: boolAdd CAST: blocks to scripts that don’t have one, inferring speakers from parsed JSON or body scan
scripts_dir: Option<PathBuf>Scripts directory for –harvest-cast / –backfill-cast (default: scripts/ under workspace root)
yes: boolApply changes without confirmation (for –harvest-cast and –backfill-cast)
dry_run: boolPreview backfill changes without writing files (implied when –yes is absent for –backfill-cast)
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.