This repository has been archived on 2025-02-15. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
lrc-cli/model.go
2024-08-11 12:13:11 +08:00

19 lines
523 B
Go

package main
type Lyrics struct {
Metadata map[string]string
Timeline []string
Content []string
}
const USAGE = `Usage: lyc-cli [command] [options]
Commands:
sync Synchronize timeline of two lyrics files
convert Convert lyrics file to another format
help Show help`
const SYNC_USAGE = `Usage: lyc-cli sync <source> <target>`
const CONVERT_USAGE = `Usage: lyc-cli convert <source> <target>
Note:
Target format is determined by file extension. Supported formats:
.txt Plain text format(No meta/timeline tags)`