Add a new alias for m3t

This commit is contained in:
2025-09-03 23:03:35 +08:00
parent cc72c89f0c
commit 59798fe697
2 changed files with 15 additions and 4 deletions

View File

@@ -84,6 +84,8 @@ pub enum OutputScriptType {
M3t,
/// Same as M3t, buf different extension
M3ta,
/// Same as M3t, buf different extension
M3tTxt,
/// JSON which can be used for GalTransl
Json,
/// YAML (same as JSON, but with YAML syntax)
@@ -105,6 +107,7 @@ impl AsRef<str> for OutputScriptType {
match self {
OutputScriptType::M3t => "m3t",
OutputScriptType::M3ta => "m3ta",
OutputScriptType::M3tTxt => "txt",
OutputScriptType::Json => "json",
OutputScriptType::Yaml => "yaml",
OutputScriptType::Custom => "",