cmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: AGPL-3.0 Imports: 36 Imported by: 0

Documentation

Overview

Package cmd implements the whodar command-line interface.

Index

Constants

This section is empty.

Variables

View Source
var ErrBadArgs = errors.New("invalid arguments")

ErrBadArgs indicates missing or invalid command arguments.

View Source
var ErrNoIndex = errors.New("no index")

ErrNoIndex indicates the index could not be loaded.

View Source
var ErrUnknownSource = errors.New("unknown source")

ErrUnknownSource indicates an unsupported --source value.

Functions

func Execute

func Execute() error

Execute runs the whodar root command and returns any error to the caller. It installs one signal-aware context so an interrupt or termination cancels whatever is running, from a long index or ask to a long-lived serve or bot.

Types

This section is empty.

Jump to

Keyboard shortcuts

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