Documentation
¶
Overview ¶
Package wrapper implements argv[0]-based subcommand routing. When the lux binary is invoked via a symlink (e.g. lux-zk, zk), the corresponding subcommand is automatically prepended to os.Args.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Domains = map[string]bool{ "ai": true, "tui": true, "zk": true, "fhe": true, "mpc": true, "kms": true, "rt": true, "ringsig": true, "explore": true, }
Domains lists subcommands that can be invoked via symlink.
Functions ¶
func RewriteArgs ¶
func RewriteArgs()
RewriteArgs detects when the binary is invoked via a symlink (e.g. "lux-zk", "zk") and prepends the corresponding subcommand to os.Args.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.