cmd

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package cmd provides the CLI commands for SerialLink using Cobra.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the application version (set at build time)
	Version = "dev"

	// Commit is the git commit (set at build time)
	Commit = "none"

	// BuildDate is the build date (set at build time)
	BuildDate = "unknown"
)

Functions

func Execute

func Execute() error

Execute executes the root command

func ExecuteContext

func ExecuteContext(ctx context.Context) error

ExecuteContext executes the root command with a context

func GetAddress

func GetAddress() string

GetAddress returns the gRPC service address

func GetConfig

func GetConfig() (*config.Config, error)

GetConfig returns the loaded configuration

func IsVerbose

func IsVerbose() bool

IsVerbose returns whether verbose mode is enabled

Types

This section is empty.

Jump to

Keyboard shortcuts

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