Info
provide.foundation.hub.info
¶
Command information and metadata structures.
Classes¶
CommandInfo
¶
Framework-agnostic command information.
Stores metadata about a registered command without framework-specific dependencies. The parameters field contains introspected parameter information that can be used by any CLI adapter.
Attributes:
| Name | Type | Description |
|---|---|---|
name |
str
|
Command name |
func |
Callable[..., Any]
|
Command function/callable |
description |
str | None
|
Command description (help text) |
aliases |
list[str]
|
Alternative names for the command |
hidden |
bool
|
Whether command is hidden from help |
category |
str | None
|
Command category for organization |
metadata |
dict[str, Any]
|
Additional custom metadata |
parent |
str | None
|
Parent command path (for nested commands) |
parameters |
list[ParameterInfo] | None
|
Introspected parameter information (lazy-loaded) |