CLI at a glance
Every command of the CLI, what it does, and an example to copy.
meocord show
| Command | What it does | Example |
|---|---|---|
meocord show | Display information | npx meocord show --warranty |
meocord create
| Command | What it does | Example |
|---|---|---|
meocord create | Create a new MeoCord application | npx meocord@4.1.2 create my-bot |
meocord build
| Command | What it does | Example |
|---|---|---|
meocord build | Build the application | npx meocord build --dev |
meocord start
| Command | What it does | Example |
|---|---|---|
meocord start | Start the application | npx meocord start --build |
meocord register
| Command | What it does | Example |
|---|---|---|
meocord register | Register the application commands with Discord, without starting the bot | npx meocord register --build |
meocord generate
| Command | What it does | Example |
|---|---|---|
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 |