Skip to content

Vapor-Productions/vapors-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@vaporproductions/vapors-cli

Vapor Productions CLI for generating Discord bot commands, events, and utilities.

Install

Global install:

npm install -g @vaporproductions/vapors-cli

One-off usage:

npx @vaporproductions/vapors-cli help

Quick start

Initialize once in your project:

vapors-cli init

Create a command:

vapors-cli generate --type command --name ping --category utility

Create an event:

vapors-cli generate --type event --name ready

Create a utility:

vapors-cli generate --type util --name formatDuration

How it works

  • Interactive by default: missing required flags will prompt you.
  • Requires a vapors.config.json file created by vapors-cli init.

Config file

vapors.config.json:

{
  "version": 1,
  "projectRoot": ".",
  "structures": {
    "commands": "src/commands/categories",
    "events": "src/events",
    "utils": "src/utils"
  }
}

Commands

vapors-cli help
vapors-cli init
vapors-cli generate --type command --name ping --category utility
vapors-cli generate --type event --name ready
vapors-cli generate --type util --name formatDuration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors