cmd

package
v0.0.0-...-46c460c Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecLs

func ExecLs(dirPath string) (string, error)

func ExecuteCommand

func ExecuteCommand(input string, opts *CliOptions) (string, error)

func LoadClientCLI

func LoadClientCLI() *cobra.Command

Types

type CliOptions

type CliOptions struct {

	// Port to connect to
	Port int

	// Address to connect to
	Address string

	// Enable debug trace
	DebugEnabled bool

	// AES-key to use for communications
	AesKey string
}

func CliDefaults

func CliDefaults() *CliOptions

Jump to

Keyboard shortcuts

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