Skip to content
GitHub

CLI at a glance

Every command of the CLI, what it does, and an example to copy.

meocord show

CommandWhat it doesExample
meocord show

Display information

npx meocord show --warranty

meocord create

CommandWhat it doesExample
meocord create

Create a new MeoCord application

npx meocord@4.1.2 create my-bot

meocord build

CommandWhat it doesExample
meocord build

Build the application

npx meocord build --dev

meocord start

CommandWhat it doesExample
meocord start

Start the application

npx meocord start --build

meocord register

CommandWhat it doesExample
meocord register

Register the application commands with Discord, without starting the bot

npx meocord register --build

meocord generate

CommandWhat it doesExample
meocord generate

Generate components

npx meocord generate controller button Greeting
meocord generate controller

Generate a controller component

npx meocord generate controller button Greeting
meocord generate service

Generate a service component

npx meocord generate service Greeting
meocord generate guard

Generate a guard component

npx meocord generate guard Greeting
meocord generate interceptor

Generate an interceptor component

npx meocord generate interceptor Greeting
meocord generate filter

Generate an exception filter component

npx meocord generate filter Greeting
meocord generate pipe

Generate a pipe component

npx meocord generate pipe Greeting
meocord generate observer

Generate a dispatch observer component

npx meocord generate observer Greeting