summaryrefslogtreecommitdiff
path: root/integrationtests/cli_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 00:19:56 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 00:19:56 +0300
commita3acc6f607b4422b83e023c030892ff39c0cb0aa (patch)
treeae57098f63faa5368e35ce8fedf4c77457c55e54 /integrationtests/cli_test.go
parent7e1c99cc79ba8338a05e37aaac498dd759f614f3 (diff)
rpn: implement custom show to display custom metric details
Previously, 'custom show' delegated to MetricShow(), which displayed metric info for the top stack value — identical to 'metric show' and making 'custom show' a pointless alias. Now 'custom show' lists all custom metrics with name, category, base unit, and factor. Optionally accepts a metric name argument to show details for a specific custom metric only. - Add CustomShow(stack, name) method to Operator interface - Implement CustomShow on Operations with per-metric detail output - Update handleCustomCommand to call CustomShow instead of MetricShow
Diffstat (limited to 'integrationtests/cli_test.go')
0 files changed, 0 insertions, 0 deletions