wrapper

package
v1.100.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL