compose/docs
Nicolas De Loof 2cd2a84f2e refactor(up): inject the navigation menu instead of importing cmd/formatter
pkg/compose imported cmd/formatter for the interactive keyboard menu of a
foreground up, so the library depended on the CLI. Define a NavigationMenu
interface (and a factory) in pkg/compose, satisfied by formatter.LogKeyboard,
and have the CLI inject it with the new WithNavigationMenu option. The terminal
code stays in cmd/formatter. Without the option no menu is displayed.

formatter.Feature moves to api.Feature so that both sides share the type, and
a depguard rule now forbids pkg/ and internal/ from importing cmd/.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-10-12 10:50:38 +02:00
..
examples docs(provider), e2e: image distribution documented and exercised 2026-10-02 17:35:20 +02:00
reference chore: remove duplicate 'publish' registration under 'alpha' 2026-09-30 14:47:12 +02:00
yaml/main
extension.md docs(provider), e2e: image distribution documented and exercised 2026-10-02 17:35:20 +02:00
sdk.md refactor(up): inject the navigation menu instead of importing cmd/formatter 2026-10-12 10:50:38 +02:00