Reorganize the project layout, fix some logging quirks

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
2025-12-30 19:13:42 -03:00
parent a2a93adfb6
commit 613576f438
11 changed files with 44 additions and 41 deletions

20
root.go Normal file
View File

@@ -0,0 +1,20 @@
package main
import (
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"git.laidback.moe/shinyoukai/mikuru/mirai"
)
var rootCmd = &cobra.Command{
Use: "mikuru",
Short: "A client for Yarn.social from the future",
Version: mirai.FullVersion(),
}
func Execute() {
err := rootCmd.Execute()
if err != nil {
log.Fatal(err)
}
}