feat: basic ass processing (without style)

This commit is contained in:
CDN 2025-04-23 17:42:13 +08:00
parent 8897d7ae90
commit ebbf516689
Signed by: CDN
GPG key ID: 0C656827F9F80080
10 changed files with 2301 additions and 808 deletions

View file

@ -1,7 +1,7 @@
package config
// Version stores the current application version
const Version = "0.5.1"
const Version = "0.5.2"
// Usage stores the general usage information
const Usage = `Usage: sub-cli [command] [options]
@ -17,6 +17,8 @@ const SyncUsage = `Usage: sub-cli sync <source> <target>
Currently supports synchronizing between files of the same format:
- LRC to LRC
- SRT to SRT
- VTT to VTT
- ASS to ASS
If source and target have different numbers of entries, a warning will be shown.`
// ConvertUsage stores the usage information for the convert command
@ -26,4 +28,5 @@ const ConvertUsage = `Usage: sub-cli convert <source> <target>
.txt Plain text format (No meta/timeline tags, only support as target format)
.srt SubRip Subtitle format
.lrc LRC format
.vtt WebVTT format`
.vtt WebVTT format
.ass Advanced SubStation Alpha format`