package
Version:
v1.3.7
Opens a new window with list of versions in this module.
Published: Apr 3, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Register adds a command to the global CLI registry.
Registration is expected to happen from package init functions and panics on
programmer errors such as duplicate names.
Run looks up and executes a registered command.
The boolean result reports whether a matching command was found.
Usage renders grouped CLI usage text for all registered commands.
Command is the common interface implemented by all Foundry CLI commands.
Lookup resolves a command from os.Args-style input.
Info is the serializable command metadata used to build usage output.
List returns all registered commands sorted by group and name.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.