ExampleMeta
Program metadata passed to a function-form example, resolved at render time.
name is the actually-invoked program name (options.help.binName, falling back to the command name) so examples stay truthful under symlinks, inheritName, and npx x vs a global install. version is the program version, or undefined when none is configured.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/schema/command.ts - Source link:
src/core/schema/command.ts:471
Signatures
ts
interface ExampleMeta {}Members
Properties
name
ts
name: string;version
ts
version: string | undefined;