refactor: move `cmd` package inside `internal` as `internal/cmd`
This avoid a little of confusion. Usually, `main` packages live either
on the root or in folders inside `cmd/`. Having both can be confusing,
so let's at least move `cmd` inside `internal`.
commitff1b8fdee1c642a0ca9e1ceda0038c02ce3c527c
authorAndrey Nering <andreynering@users.noreply.github.com>
dateThu 17 Jul 2025, 10:30 (1 year ago)
parent08d5a47
cmd/logs.go → internal/cmd/logs.gorenamed
The content is the same.
cmd/root.go → internal/cmd/root.gorenamed
The content is the same.
main.go+1−1
@@ -10,7 +10,7 @@ import (
1010
1111 _ "github.com/joho/godotenv/autoload" // automatically load .env files
1212
13− "github.com/charmbracelet/crush/cmd"
13+ "github.com/charmbracelet/crush/internal/cmd"
1414 "github.com/charmbracelet/crush/internal/log"
1515)
1616