cmd

package
v0.14.10 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cmd provides the main implementation of the wirelink command line.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WirelinkCmd

type WirelinkCmd struct {
	Config *config.Server
	Server *server.LinkServer
	// contains filtered or unexported fields
}

WirelinkCmd represents an instance of the app command line

func New

func New(args []string) *WirelinkCmd

New creates a new command instance using the given os.Args value

func (*WirelinkCmd) Init

func (w *WirelinkCmd) Init(env networking.Environment) error

Init prepares the command instance

func (*WirelinkCmd) Run

func (w *WirelinkCmd) Run() error

Run invokes the server

Jump to

Keyboard shortcuts

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