klasa-cli v0.3.2
This is an UNOFFICIAL Klasa CLI tool. (Tho I am up to make it official 👀)
How to install
yarn global add klasa-cli
npm install -g klasa-cli
Or the beta version
yarn global add klasa-cli@beta
npm install -g klasa-cli@beta
Or if you want, you can use npx to run the cli.
npx klasa-cli
Or the beta version
npx klasa-cli@beta
How to use
Just run klasa-cli help in your CMD Prompt to see a list of commands
Commands
| Commands | Description |
|---|---|
| help | Help menu |
| init | Makes a new Klasa or @klasa/core bot |
| generate | Generates pieces for the Klasa Framework |
| version | Shows the CLI Version |
init
Use this to initialize a brand new Klasa or @klasa/core bot. It also generates all needed files for you to get started right away. Here is a list of features it includes (Depending what you picked when initializing the bot).
| Features |
|---|
| ESlint |
| Prettier |
| TypeScript |
Generate
Use this command to generate pieces for your KLASA bot (Does not work with @klasa/core). Here is a list of pieces you can generate. NOTE: At the time of writing this, Klasa only supports Postgresql. So as such, the CLI will only generate a prebuilt Postgresql file with courtesy of Skyra Bot and Kyra(Main dev of Skyra Bot) for providing the file.
| Pieces |
|---|
| Command |
| Event |
| Provider |
Resources
Klasa Website: https://klasa.js.org/ Klasa Discord Server: On the Klasa Website GitHub Link: https://github.com/Relms12345/klasa-cli Submit Issues: https://github.com/Relms12345/klasa-cli/issues Submit PRs: https://github.com/Relms12345/klasa-cli/pulls
Creator
Contributor(s)
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago