add time command

This commit is contained in:
2026-06-15 17:55:17 +08:00
parent f5692585fa
commit 3e6768b1e3
2 changed files with 52 additions and 1 deletions

View File

@@ -9,8 +9,9 @@ func commandsUsage() string {
return fmt.Sprintf(
`commands:
path %v
time %v
week %v
`, commandPathDescription, commandWeekDescription)
`, commandPathDescription, commandTimeDescription, commandWeekDescription)
}
func main() {
@@ -18,6 +19,8 @@ func main() {
switch os.Args[1] {
case "path":
commandPath(os.Args[1:])
case "time":
commandTime(os.Args[1:])
case "week":
commandWeek(os.Args[1:])
default: