package
Version:
v0.222.0
Opens a new window with list of versions in this module.
Published: Oct 2, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewCommand constructs the shortcuts command tree.
type Entry struct {
Name string `json:"name"`
Description string `json:"description"`
Usage string `json:"usage"`
}
Entry is one registered slash command as `shortcuts list --format json`
prints it.
Entries lists every registered shortcut for cfg, sorted by name.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.