Skip to content

Interface: ExtensionCliSubcommandEntry

Makaio Framework


Makaio Framework / contracts/extension / ExtensionCliSubcommandEntry

Defined in: ../../../packages/contracts/src/extension/extension-cli.ts:51

Type-erased CLI subcommand entry for collection storage.

See @makaio/kernel/cli for the full typed API including defineCliSubcommand.

readonly description: string

Defined in: ../../../packages/contracts/src/extension/extension-cli.ts:55

One-line description shown in help text.


readonly handler: (ctx) => Promise<void>

Defined in: ../../../packages/contracts/src/extension/extension-cli.ts:59

Handler invoked with the type-erased CLI execution context.

ExtensionCliHandlerContext

Promise<void>


readonly name: string

Defined in: ../../../packages/contracts/src/extension/extension-cli.ts:53

Subcommand name.


readonly schema: object

Defined in: ../../../packages/contracts/src/extension/extension-cli.ts:57

Minimal parse-only schema contract kept free of runtime Zod APIs.

parse(v): unknown

unknown

unknown