dive/cmd/dive
Alex Goodman 95fb49457a
take dive flags before a "--" in dive build and show its help
- `dive build` has flag parsing turned off so the build args pass through, which meant every arg went to `docker build`: there was no way to give dive flags like `--ci`, `--json` or `--source`, and `dive build --help` started a build
- args before a `--` are now parsed as dive flags (ahead of the config load, so they override the config like on other commands) and the rest go to the build: `dive build --ci -- -t app .`. Without a `--` everything still goes to the build
- `-h` / `--help` anywhere shows the dive build help

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
2026-11-16 23:49:15 -05:00
..
cli take dive flags before a "--" in dive build and show its help 2026-11-16 23:49:15 -05:00
main.go port image loading and analysis to stereoscope (#727) 2026-10-30 10:37:51 -04:00