This commit is contained in:
CDN 2025-04-23 08:01:13 +08:00
parent aedc4a4518
commit 9b0e2ed6dc
Signed by: CDN
GPG key ID: 0C656827F9F80080
15 changed files with 693 additions and 540 deletions

View file

@ -0,0 +1,23 @@
package config
// Version stores the current application version
const Version = "0.3.0"
// Usage stores the general usage information
const Usage = `Usage: sub-cli [command] [options]
Commands:
sync Synchronize timeline of two lyrics files
convert Convert lyrics file to another format
fmt Format lyrics file
help Show help`
// SyncUsage stores the usage information for the sync command
const SyncUsage = `Usage: sub-cli sync <source> <target>`
// ConvertUsage stores the usage information for the convert command
const ConvertUsage = `Usage: sub-cli convert <source> <target>
Note:
Target format is determined by file extension. Supported formats:
.txt Plain text format(No meta/timeline tags, only support as target format)
.srt SubRip Subtitle format
.lrc LRC format`