Xil
src.xil_pipeline.xil
Unified CLI dispatcher for xil-pipeline commands.
This command keeps existing xil-* entry points intact while providing a
single ergonomic top-level command:
xil <subcommand> [args...]
XIL_SCRIPT_COMMANDS
module-attribute
XIL_SCRIPT_COMMANDS: dict[str, CommandSpec] = {'init': CommandSpec('xil_pipeline.xil_init', 'workspace scaffolding', _PIPELINE), 'scan': CommandSpec('xil_pipeline.XILP000_script_scanner', 'pre-flight script scanner', _PIPELINE), 'parse': CommandSpec('xil_pipeline.XILP001_script_parser', 'script parser', _PIPELINE), 'cues': CommandSpec('xil_pipeline.XILP006_cues_ingester', 'cues sheet ingestion', _PIPELINE), 'produce': CommandSpec('xil_pipeline.XILP002_producer', 'voice stem generation', _PIPELINE), 'assemble': CommandSpec('xil_pipeline.XILP003_audio_assembly', 'master audio assembly', _PIPELINE), 'studio-onboard': CommandSpec('xil_pipeline.XILP004_studio_onboard', 'ElevenLabs Studio project onboarding', _PIPELINE), 'daw': CommandSpec('xil_pipeline.XILP005_daw_export', 'DAW layer export', _PIPELINE), 'migrate': CommandSpec('xil_pipeline.XILP007_stem_migrator', 'stem migration', _PIPELINE), 'cleanup': CommandSpec('xil_pipeline.XILP008_stale_stem_cleanup', 'stale stem cleanup', _PIPELINE), 'import': CommandSpec('xil_pipeline.XILP010_studio_import', 'Studio export import', _PIPELINE), 'regen': CommandSpec('xil_pipeline.XILP009_script_regenerator', 'script regeneration', _PIPELINE), 'master': CommandSpec('xil_pipeline.XILP011_master_export', 'final master MP3 export', _PIPELINE), 'publish': CommandSpec('xil_pipeline.XILP012_publish', 'social media post draft generator', _PIPELINE), 'voices': CommandSpec('xil_pipeline.XILU001_discover_voices_T2S', 'voice discovery', _UTILITY, '(before parse/produce)'), 'csv-join': CommandSpec('xil_pipeline.XILU003_csv_sfx_join', 'CSV + SFX/cast annotation join', _UTILITY, '(after parse)'), 'sfx': CommandSpec('xil_pipeline.XILU002_generate_SFX', 'standalone SFX generation', _UTILITY, '(after cues/parse)'), 'sample': CommandSpec('xil_pipeline.XILU004_sample_voices_T2S', 'voice sample generation', _UTILITY, '(after voices/cast config)'), 'sfx-lib': CommandSpec('xil_pipeline.XILU005_discover_SFX', 'SFX library discovery', _UTILITY, '(any time)'), 'splice': CommandSpec('xil_pipeline.XILU006_splice_parsed', 'parsed JSON splice utility', _UTILITY, '(advanced)'), 'mp3-hash': CommandSpec('xil_pipeline.XILU007_mp3_hash', 'recursive MP3 SHA-256 hash log', _UTILITY, '(integrity / audit)'), 'gui': CommandSpec('xil_pipeline.xil_gui', 'web dashboard (requires [gui] extra)', _UTILITY, '(pip install xil-pipeline[gui])'), 'migrate-workspace': CommandSpec('xil_pipeline.XILU009_migrate_workspace', 'migrate pre-0.1.8 workspace to normalized layout', _UTILITY, '(run once per workspace)'), 'db-profile': CommandSpec('xil_pipeline.XILU010_db_profile', 'profile MP3 loudness: peak, average, and minimum dBFS', _UTILITY, '(audio level analysis)'), 'sfx-csv': CommandSpec('xil_pipeline.XILU011_sfx_csv', 'flatten sfx_<tag>.json configs to CSV — one row per effect', _UTILITY, '(debug / audit)'), 'parsed-csv': CommandSpec('xil_pipeline.XILU012_parsed_csv', 'export parsed_<tag>.json entries to CSV — one row per entry', _UTILITY, '(debug / audit)'), 'sfx-hydrate': CommandSpec('xil_pipeline.XILU013_sfx_hydrate', 'write pipe-hint source fields from parsed JSON into the SFX config', _UTILITY, '(after parse, before produce)'), 'episode-summary': CommandSpec('xil_pipeline.XILU014_episode_summary', 'write one-row-per-episode summary CSV (lines, words, TTS chars)', _UTILITY, '(any time)')}
Subcommand registry. Insertion order defines display order within each group.