webiny-cli-command-catalog

$npx mdskill add webiny/webiny-js/webiny-cli-command-catalog

Generate custom CLI commands for Webiny CLI.

  • Creates custom CLI commands for Webiny CLI.
  • Depends on webiny/cli-core/abstractions/features/CliCommand.ts.
  • Uses the CliCommandFactory interface to define commands.
  • Returns executable command definitions for the CLI.
SKILL.md
.github/skills/webiny-cli-command-catalogView on GitHub ↗
---
name: webiny-cli-command-catalog
context: webiny-api
description: >
  cli/command — 1 abstractions.
---

# cli/command

## How to Use

1. Find the abstraction you need below
2. Read the source file to get the exact interface and types
3. Import: `import { Name } from "<importPath>";`

## Abstractions

---

**Name:** `CliCommandFactory`
**Import:** `import { CliCommandFactory } from "webiny/cli/command"`
**Source:** `@webiny/cli-core/abstractions/features/CliCommand.ts`
**Description:** Implement a custom CLI command for Webiny CLI.

---
More from webiny/webiny-js