Skip to content

Command Reference

This section is based on the command list in the root README.md.

Project Commands

  • Generate a Cloudflare Worker app:
    bash
    nx g @naxodev/nx-cloudflare:application apps/<app-name>
  • Serve an Nx app locally:
    bash
    nx serve <app-name>
  • Run tests for an Nx app:
    bash
    nx test <app-name>
  • Run all tests:
    bash
    pnpm test:all

Docs Commands

  • Start docs dev server:
    bash
    pnpm docs:dev
  • Build docs:
    bash
    pnpm docs:build
  • Preview built docs:
    bash
    pnpm docs:preview

Current App Shortcut

The current repository contains one app, mcp-server:

bash
nx serve mcp-server