Documentation
¶
Overview ¶
Package add implements adding items and locations to inventory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetItemCmd ¶
GetItemCmd returns the item subcommand, initializing it if necessary.
func GetLocationCmd ¶
GetLocationCmd returns the location subcommand, initializing it if necessary.
func NewAddCmd ¶
NewAddCmd returns an add command with the given subcommands registered. This is the canonical constructor; both subcommands (item, location) are always registered since they delegate database access to internal/cli.
func NewDefaultAddCmd ¶
NewDefaultAddCmd returns an add command ready for production use. Alias for NewAddCmd — kept symmetric with the other command packages.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.