cmd

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package cmd dispatches commands to handlers.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCantAuthenticateUser       = errors.New("can't authenticate user")
	ErrCantCreateConfigFile       = errors.New("can't create config file")
	ErrCantReadBatteryState       = errors.New("can't read battery state")
	ErrCantReadDetails            = errors.New("can't read inverter's details")
	ErrCantReadGridState          = errors.New("can't read grid state")
	ErrCantReadInputState         = errors.New("can't read input state")
	ErrCantReadInverterSettings   = errors.New("can't read inverter settings")
	ErrCantReadLoadStatistics     = errors.New("can't read load statistics")
	ErrCantUpdateInverterSettings = errors.New("can't update inverter settings")
	ErrNoInverterSerialNumber     = errors.New("no inverter serial number (--inverter) supplied")
)

Errors that the CLI can return to the user.

View Source
var Version string = ""

Version references the tagged version number in GitHub.

Functions

func Execute

func Execute()

Execute the command supplied by the user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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