Files
cli/README.md
2023-08-17 13:18:35 +05:30

1.7 KiB

Features

😁 User Friendly
💦 Simple
🌱 Efficient
💪 Powerful

Installation

npm install -g @sern/cli@latest
yarn global add @sern/cli@latest
pnpm add -g @sern/cli@latest

Getting Started

When you install the CLI, you can use our commands with sern prefix.

Usage: sern [options] [command]


  ___  ___ _ __ _ __
 / __|/ _ \ '__| '_ \
 \__ \  __/ |  | | | |
 |___/\___|_|  |_| |_|

 Welcome!
 If you're new to sern, run npm create @sern/bot for an interactive setup to your new bot project!

 If you have any ideas, suggestions, bug reports, kindly join our support server: https://sern.dev/discord

Options:
  -v, --version      output the version number
  -h, --help         display help for command

Commands:
  init [options]     Quickest way to scaffold a new project [DEPRECATED]
  plugins [options]  Install plugins from https://github.com/sern-handler/awesome-plugins
  extra              Easy way to add extra things in your sern project
  commands           Defacto way to manage your slash commands
  help [command]     display help for command

Setting Up Your Project

Run sern init (-y) for an interactive setup on a brand new project using our framework.
Adding the -y flag sets up project as default. ( Note : the default initiates a typescript project)

Installing Plugins

sern runs on your plugins. Contribute to the repository and then install the plugins via our cli!
Run sern plugins to see all installable options