Files
netbird/management/cmd
Brad Ison 27991aab98 [management] Let embedding binaries extend the command tree (#7483)
The management binary is embedded by downstream builds that override
server construction via SetNewServer, but the cobra command tree itself
was closed: rootCmd is unexported and fully assembled in init, with no
way to attach additional subcommands. Customize hands the built root
command to a caller-supplied function before Execute, so an embedding
binary can add its own commands next to — or under — the built-in ones,
such as extra administrative helpers beneath the existing admin group.
2026-09-09 15:36:37 +02:00
..
2022-11-07 15:38:21 +01:00