Adding custom commands to the Webiny CLI using CliCommandFactory. Use this skill when the developer wants to create a custom CLI command, add a data migration script, build a code generator, create deployment scripts, export CMS content, or add health check commands. Covers CliCommandFactory.Interface, command definition, typed parameters, the Ui service for terminal output, and registration via <Cli.Command>.
$npx -y skills add webiny/webiny-js --skill cli-extensionsInstalls into the current project.
Run `npx skills use "https://github.com/webiny/webiny-js" --skill "webiny/webiny-js/cli-extensions"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/webiny/webiny-js" that are relevant to the current task. Run `npx skills add "https://github.com/webiny/webiny-js"` and select the relevant skills, then follow their instructions.