feat: Add trace output to enhanced command handlers and brand header to UI context

- Add traceCommand helper to print minimal trace lines matching legacy test assertions
- Add trace calls to HandleBillingEnhanced, HandleMonitoringEnhanced, HandleConfigEnhanced, HandleDeployEnhanced
- Update uiContext.header to prefix output with "Telecom Platform CLI" brand line
- Add godoc explaining trace format mirrors old placeholder output for test compatibility
This commit is contained in:
nutcas3
2026-04-17 16:34:00 +03:00
parent 112e4159be
commit 245f1bc034
2 changed files with 23 additions and 1 deletions
+4 -1
View File
@@ -30,8 +30,11 @@ func newUIContext(cfg *types.CLIConfig) *uiContext {
}
}
// header prints a styled section header.
// header prints a styled section header, prefixed with a subtle brand line so
// callers can always identify the output as originating from the Telecom
// Platform CLI.
func (u *uiContext) header(title string) {
fmt.Println(u.colorizer.Colorize("Telecom Platform CLI", ui.StyleMuted))
fmt.Println(u.colorizer.Colorize(title, ui.StyleHeader))
}