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
+19
View File
@@ -0,0 +1,19 @@
package cmd
import "miro/internal/output"
// Run parses top-level CLI args and returns a process exit code.
func Run(args []string) int {
if len(args) == 0 {
output.Println("unknown command")
return 1
}
switch args[0] {
case "init":
return runInit(args[1:])
default:
output.Printf("unknown command: %s\n", args[0])
return 1
}
}