compose/cmd
Nicolas De Loof 70ec1e62f6 refactor(up): extract the selection of the attached services from runUp
runUp is above the cognitive complexity limit of the linter once gocognit
is updated, because of the nested branches that select the services whose
logs are followed. Move that selection to upOptions.attachedServices, without
changing what it does, and cover its rules (--attach, --no-attach,
--attach-dependencies, attach: false in the Compose file), which no test
exercised.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-10-28 16:31:14 +01:00
..
cmdtrace feat(tracing): surface otel shutdown errors via --debug 2026-09-02 17:12:12 +02:00
compatibility modernize some code 2026-02-12 15:31:35 +01:00
compose refactor(up): extract the selection of the attached services from runUp 2026-10-28 16:31:14 +01:00
display fix(display): reset the screen after degraded out-of-operation lines 2026-09-09 16:50:05 +02:00
formatter test(formatter): keep escape sequences out of the go test output 2026-10-22 09:11:41 +02:00
prompt cmd/prompt: remove uses of github.com/AlecAivazis/survey/v2 2026-09-11 15:30:07 +02:00
main.go refactor(up): inject the navigation menu instead of importing cmd/formatter 2026-10-12 10:50:38 +02:00