cmd

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Overview

ABOUTME: Cobra subcommand for `keytun host`. ABOUTME: Starts a session, creates an injector, and muxes local + remote input.

ABOUTME: Cobra subcommand for `keytun join <session-code>`. ABOUTME: Connects to a host's session and forwards local keystrokes with auto-reconnect.

ABOUTME: Cobra subcommand for `keytun relay`. ABOUTME: Starts the WebSocket relay server that brokers host/client connections.

ABOUTME: Root cobra command and Execute entrypoint for the keytun CLI. ABOUTME: Registers host, join, and relay subcommands.

ABOUTME: Centralized version variable for the keytun CLI. ABOUTME: Set at build time via -ldflags; defaults to "dev" for local builds.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Functions

func Execute

func Execute() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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