summaryrefslogtreecommitdiff
path: root/docs/cli-usage.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 13:46:17 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 13:46:17 +0300
commitfe811682d952e5322a5bc3c5e0bddfe8074b4cf9 (patch)
tree62ccfb586b5c20438d61f99fbf62f87fbfae782b /docs/cli-usage.md
parentad7113c9119458f076fea90f55b8a9ceecb45891 (diff)
refactor(rpn): split large functions in rpn_parse.go (task 6j)
Extract inline helper methods to bring dispatchToken, handleMetricCommand, and handleCustomCommand under 50 lines: - handleInlineAssignment: extracts := / =: stack assignment logic - handleMetricPrefix: handles metric binary/decimal prefix mode switching - handleCustomDefine: handles 'custom define' subcommand - handleCustomUndefine: handles 'custom undefine' subcommand dispatchToken: 55 -> 47 lines handleMetricCommand: 40 -> 38 lines handleCustomCommand: 43 -> 31 lines
Diffstat (limited to 'docs/cli-usage.md')
0 files changed, 0 insertions, 0 deletions