sub-cli/internal/config/constants.go

32 lines
1.1 KiB
Go

package config
// Version stores the current application version
const Version = "0.5.2"
// Usage stores the general usage information
const Usage = `Usage: sub-cli [command] [options]
Commands:
sync Synchronize timeline of two subtitle files
convert Convert subtitle file to another format
fmt Format subtitle file
help Show help`
// SyncUsage stores the usage information for the sync command
const SyncUsage = `Usage: sub-cli sync <source> <target>
Note:
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
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
.vtt WebVTT format
.ass Advanced SubStation Alpha format`