cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package cmd provides the cobra command implementations for wherehouse.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context) error

Execute runs the root command using fang for enhanced styling and error handling. This is called by main.main() and is the application entry point.

func GetRootCmd

func GetRootCmd() *cobra.Command

GetRootCmd returns the root command, initializing it if necessary.

Types

This section is empty.

Directories

Path Synopsis
Package add implements adding items and locations to inventory.
Package add implements adding items and locations to inventory.
Package config implements configuration management commands for wherehouse.
Package config implements configuration management commands for wherehouse.
Package find implements the "wherehouse find" command for searching items and locations.
Package find implements the "wherehouse find" command for searching items and locations.
Package found implements the wherehouse found command, which records that a previously missing or lost item has been found.
Package found implements the wherehouse found command, which records that a previously missing or lost item has been found.
Package history implements the wherehouse history command for displaying item event timelines.
Package history implements the wherehouse history command for displaying item event timelines.
Package initialize provides the `wherehouse initialize` command group for first-time setup of wherehouse resources.
Package initialize provides the `wherehouse initialize` command group for first-time setup of wherehouse resources.
Package list implements the wherehouse list command for displaying locations and their items in a tree view.
Package list implements the wherehouse list command for displaying locations and their items in a tree view.
Package loan implements the "wherehouse loan" command for marking items as loaned to someone.
Package loan implements the "wherehouse loan" command for marking items as loaned to someone.
Package lost implements the `wherehouse lost` command that marks items as lost/missing.
Package lost implements the `wherehouse lost` command that marks items as lost/missing.
Package migrate provides the migrate command and its subcommands.
Package migrate provides the migrate command and its subcommands.
Package move implements the wherehouse move command.
Package move implements the wherehouse move command.
Package remove implements the remove command for moving items and locations to the Removed system location, hiding them from normal inventory views.
Package remove implements the remove command for moving items and locations to the Removed system location, hiding them from normal inventory views.
Package scry implements the "wherehouse scry" command
Package scry implements the "wherehouse scry" command

Jump to

Keyboard shortcuts

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