JSPM

create-commandkit

1.2.0-dev.20251022125505
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1818
  • Score
    100M100P100Q110982F
  • License GPL-3.0-only

Effortlessly create a CommandKit project

Package Exports

  • create-commandkit
  • create-commandkit/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-commandkit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


support server npm version npm downloads

create-commandkit

create-commandkit is a CLI utility to quickly instantiate a Discord bot with CommandKit.

Features

  • Interactive, beautiful command-line interface 🖥️
  • Supports CommonJS and ES Modules 📦
  • Dynamic template system with examples from GitHub 🚀
  • Support for all major package managers (npm, pnpm, yarn, bun, deno) 📦
  • TypeScript and JavaScript support 🔧

Documentation

You can find the full documentation here.

Usage

Basic Usage

npx create-commandkit@latest

With Project Name

npx create-commandkit@latest my-bot

Using Examples

# Use a curated example
npx create-commandkit@latest --example with-database

# Use a custom GitHub repository
npx create-commandkit@latest --example "https://github.com/user/repo"

# Use a specific path within a repository
npx create-commandkit@latest --example "https://github.com/user/repo" --example-path "examples/bot"

CLI Options

  • -h, --help - Show all available options
  • -V, --version - Output the version number
  • -e, --example <name-or-url> - An example to bootstrap the app with
  • --example-path <path> - Specify the path to the example separately
  • --use-npm - Use npm as package manager
  • --use-pnpm - Use pnpm as package manager
  • --use-yarn - Use yarn as package manager
  • --use-bun - Use bun as package manager
  • --use-deno - Use deno as package manager
  • --skip-install - Skip installing packages
  • --no-git - Skip git initialization
  • --yes - Use defaults for all options
  • --list-examples - List all available examples from the official repository

Available Examples

Examples

# Create a basic TypeScript bot, skip installation
npx create-commandkit@latest --example basic-ts --skip-install

# Create a bot with all defaults (no prompts)
npx create-commandkit@latest --yes

# Create a bot from custom repository
npx create-commandkit@latest --example "https://github.com/username/my-commandkit-template"

# Create a bot with pnpm
npx create-commandkit@latest --use-pnpm

# List all available examples
npx create-commandkit@latest --list-examples

Support and Suggestions

Submit any queries or suggestions in our Discord community.