chore: rename

This commit is contained in:
CDN 2025-04-23 07:45:43 +08:00
parent 1556b11d5f
commit 28b49b7f78
Signed by: CDN
GPG key ID: 0C656827F9F80080
3 changed files with 5 additions and 5 deletions

2
go.mod
View file

@ -1,3 +1,3 @@
module lrc-cli
module sub-cli
go 1.22.6

View file

@ -19,7 +19,7 @@ func main() {
case "fmt":
fmtLyrics(os.Args[2:])
case "version":
fmt.Printf("lyc-cli version %s\n", VERSION)
fmt.Printf("sub-cli version %s\n", VERSION)
case "help":
fmt.Println(USAGE)
default:

View file

@ -22,15 +22,15 @@ type SRTEntry struct {
const (
VERSION = "0.3.0"
USAGE = `Usage: lyc-cli [command] [options]
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`
SYNC_USAGE = `Usage: lyc-cli sync <source> <target>`
CONVERT_USAGE = `Usage: lyc-cli convert <source> <target>
SYNC_USAGE = `Usage: sub-cli sync <source> <target>`
CONVERT_USAGE = `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)