feat: scaffold dirs with a noop miro init command

This commit is contained in:
2026-03-16 20:58:09 +00:00
parent df77cbb9a1
commit 63fddb28fa
8 changed files with 106 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
package cmd
import (
"strings"
"miro/internal/miro"
"miro/internal/output"
)
func runInit(args []string) int {
if len(args) != 0 {
output.Printf("unknown init option: %s\n", strings.Join(args, " "))
return 1
}
if err := miro.Init(); err != nil {
output.Printf("%v\n", err)
return 1
}
output.Println("Done initialising...")
return 0
}