Add Favorite Hcb Script (.hcb) support

This commit is contained in:
2025-09-10 21:18:35 +08:00
parent dafc1c6e15
commit ff4316178b
9 changed files with 382 additions and 1 deletions

View File

@@ -419,6 +419,10 @@ pub struct Arg {
/// Add a mark to the end of each message for LLM translation.
/// Only works on m3t format.
pub llm_trans_mark: Option<String>,
#[cfg(feature = "favorite")]
#[arg(long, global = true, action = ArgAction::SetTrue)]
/// Do not filter ascii strings in Favorite HCB script.
pub favorite_hcb_no_filter_ascii: bool,
#[command(subcommand)]
/// Command
pub command: Command,