From 28b49b7f7893d342e13b97fb0c03f3ebd05d0213 Mon Sep 17 00:00:00 2001 From: cdn0x12 Date: Wed, 23 Apr 2025 07:45:43 +0800 Subject: [PATCH] chore: rename --- go.mod | 2 +- main.go | 2 +- model.go | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index e7dab73..5e96722 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module lrc-cli +module sub-cli go 1.22.6 diff --git a/main.go b/main.go index ff6e52f..9389699 100644 --- a/main.go +++ b/main.go @@ -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: diff --git a/model.go b/model.go index 476df14..88ce896 100644 --- a/model.go +++ b/model.go @@ -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 ` - CONVERT_USAGE = `Usage: lyc-cli convert + SYNC_USAGE = `Usage: sub-cli sync ` + CONVERT_USAGE = `Usage: sub-cli convert Note: Target format is determined by file extension. Supported formats: .txt Plain text format(No meta/timeline tags, only support as target format)