chore: rename
This commit is contained in:
parent
1556b11d5f
commit
28b49b7f78
3 changed files with 5 additions and 5 deletions
2
go.mod
2
go.mod
|
@ -1,3 +1,3 @@
|
|||
module lrc-cli
|
||||
module sub-cli
|
||||
|
||||
go 1.22.6
|
||||
|
|
2
main.go
2
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:
|
||||
|
|
6
model.go
6
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 <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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue