All checks were successful
Build and Release / Build (darwin-arm64) (push) Successful in 21s
Build and Release / Build (linux-arm64) (push) Successful in 23s
Build and Release / Build (darwin-amd64) (push) Successful in 24s
Build and Release / Build (windows-arm64) (push) Successful in 20s
Build and Release / Build (linux-amd64) (push) Successful in 32s
Build and Release / Build (windows-amd64) (push) Successful in 25s
Build and Release / Create Release (push) Successful in 22s
23 lines
812 B
Go
23 lines
812 B
Go
package config
|
|
|
|
// Version stores the current application version
|
|
const Version = "0.4.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`
|