wagoodman / dive

chore: refactor command structure (#587)
* refactor cli harness Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * use single configuration for ui Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * remove remaining viper rules * add basic CLI tests Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * separate cmd and api concerns for keybindings * plumb through context for future logging * port to using internal logger * internalize non-analysis path * encapsulate ui with clio * merge runtime into cmd + add adapter package * support legacy config shapes * improve testing around formatting * fix log-ui interactions * fix linting and update test snapshots * fix initialization of tree viewmodel * indent files in report * fix build * setup qemu and buildx in release workflow * show formatted output in CI * add cli tests for source flag * add default ci config cli test --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Alex Goodman Alex Goodman committed on Apr 8, 2025, 04:19 PM
Showing 156 changed files +13845 additions -6991 deletions
M .dockerignore +1 -1
M .gitignore +5
M .goreleaser.yaml +10 -1
M Taskfile.yaml +13 -2
D cmd/build.go -38
D cmd/ci.go -37
R cmd/dive/main.go +26 -12
D cmd/root.go -220
M go.mod +49 -12
M go.sum +105 -12
Browse files at this commit โ†’