cli

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 35 Imported by: 0

Documentation

Overview

Package cli wires up the limitping command-line interface.

Index

Constants

View Source
const BinaryAlias = "lmp"

BinaryAlias is the short name installed alongside the binary, so `lmp` is interchangeable with `limitping`. install.sh creates it as a symlink and `uninstall` removes it. It deliberately avoids the `lp*` namespace, which belongs to CUPS: `lp`, `lpq`, `lpr`, `lprm`, `lpstat` and friends ship on macOS and most Linux distributions, and installing into a directory that precedes /usr/bin on PATH would shadow the system printing commands.

View Source
const DevVersion = "dev"

DevVersion is reported for a build with no release identity. It is not a version number on purpose, so it can never compare as newer or older than a real release.

Variables

View Source
var Version = ""

Version is set at build time via -ldflags by the release pipeline. Leaving it empty everywhere else is deliberate: version() then derives the value from the module's own build info, so the tag is the single source of truth and there is no second copy to forget to bump. DevVersion marks a build that came from neither, which is any local `go build`.

Functions

func Execute

func Execute() error

Execute runs the root command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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