cli

package
v0.0.0-...-dfc3c2a Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: Unlicense Imports: 14 Imported by: 0

Documentation

Overview

Package cli wires the two wgpeer modes to the terminal (spec §2, §6):

wgpeer server --iface <wgN> <add|list|kill>   # headless: stdin JSON → stdout JSON
wgpeer client <add|list|kill> [flags] [name]  # keygen + ssh + QR

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(args []string) int

Main is the process entry point; it returns the exit code.

Types

This section is empty.