CommandMeta
Runtime metadata about the CLI program and current command execution.
Available to action handlers and middleware.
Populated by the CLI dispatch layer from CLISchema and CommandSchema. For standalone runCommand() calls without a CLI wrapper, a minimal meta is constructed from the command's own schema.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/schema/command.ts - Source link:
packages/dreamcli/src/core/schema/command.ts:278
Signatures
ts
interface CommandMeta {}Members
Properties
bin
Binary display name used in help/usage (may differ from name).
ts
bin: string;command
The leaf command name currently being executed.
ts
command: string;name
CLI program name (from cli('name') or package.json inference).
ts
name: string;version
Program version, if set via .version() or discovered from package.json.
ts
version: string | undefined;