aboutsummaryrefslogtreecommitdiffhomepage
path: root/command/node.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-22 22:06:02 +0900
committerOphestra <cat@gensokyo.uk>2025-02-22 22:43:37 +0900
commit8000a2febb546b3b68eddd9330d5709281068e9f (patch)
tree7b43ae152cc5979e4db65a3632eb542c03654a47 /command/node.go
parent7bd48d34899e01d0dc3f0bfb042690f9ee0b1219 (diff)
command: implement help builder
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'command/node.go')
-rw-r--r--command/node.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/command/node.go b/command/node.go
index 9ed21499..4d09c975 100644
--- a/command/node.go
+++ b/command/node.go
@@ -3,6 +3,7 @@ package command
import (
"flag"
"io"
+ "strings"
)
type node struct {
@@ -12,6 +13,9 @@ type node struct {
out io.Writer
logf LogFunc
+ prefix []string
+ suffix strings.Builder
+
f HandlerFunc
set *flag.FlagSet
}