sub-cli/internal/config/constants.go
CDN 7ddaac6aba
All checks were successful
Build and Release / Build (darwin-amd64) (push) Successful in 23s
Deploy docs / deploy (push) Successful in 45s
Build and Release / Build (linux-amd64) (push) Successful in 21s
Build and Release / Build (darwin-arm64) (push) Successful in 19s
Build and Release / Build (linux-arm64) (push) Successful in 18s
Build and Release / Build (windows-amd64) (push) Successful in 27s
Build and Release / Build (windows-arm64) (push) Successful in 17s
Build and Release / Create Release (push) Successful in 15s
chore: bump version
2025-04-23 19:33:26 +08:00

32 lines
1.1 KiB
Go

package config
// Version stores the current application version
const Version = "0.6.0"
// 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`