2.2.3 • Published 1 year ago

@sheweny/cli v2.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Sheweny CLI

sheweny_baniere (5)

Maintenance made-with-Markdown GitHub license GitHub tag PRs Welcome

This module is a CLI (Command Line Interface) for create discord bots with Sheweny framework.

Guide : Click here

Getting started ✨

Prerequisites 👀

Node.js 16.6.0 or newer is required.

Installation 🎈

For creating a discord bot project with the Sheweny framework, sheweny's command line interface will make your life easier. To use it is very simple, you just need to have npm (or yarn), and to install the module.

Install with npm

npm install -g @sheweny/cli

Install with yarn

yarn global add @sheweny/cli

Once the command line interface is installed, you can go to the next section to learn more about the different commands.

Usage 💡

Informations 📖

The command line interface has several prefixes which are sheweny and shw, so for the following commands, you can use one of the 2 prefixes. The help command is also at your disposal if you are too lazy to come to the guide.

sheweny --help

Create command ⛏️

To create a project, you just need to run the following command.

sheweny create [project_name]

Then you will have a series of questions that will allow you to refine the result of your project creation and to have a bot start that meets your expectations. Depending on what you have answered, you will have access from the start, the creation of the project has commands, events, or interactions.

For more information, you can run the help command: sheweny --help create

Add command 🔥

To add a template in your project with the sheweny framework, you just need to run the following command.

sheweny add

You have several types of template addition depending on what you want to add

  • command
  • event
  • button
  • selectmenu
  • inhibitor

After choosing the type of addition, you can answer the questions that are offered to once again refine the result of adding a template.

For more information, you can run the help command: sheweny --help add.

Init command 🏁

This command is used to initialize the Command Line Interface (CLI) with an existing project .

Version command 📈

This command return the version of the CLI (not the framework).


After having done all this, you can of course edit the project code as you wish with an editor, using the rest of the Guide or with the Documentation.

Common errors ☢️

Execution Policy 🔴

If you have an error :

File cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details

Changed script execution parameter. On an administrator powershell, you can do this by running the following command:

Set-ExecutionPolicy Unrestricted

Contributions/Licence 🌍

This project has an MIT license. And you are welcome to contribute.

Need help 👍

If you have question or need help, open issue or join support server.

2.2.3

1 year ago

2.2.2

1 year ago

2.2.1

2 years ago

2.2.0

2 years ago

2.1.2

2 years ago

2.1.3

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.4

3 years ago

1.0.2-beta.1

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0-beta.12

3 years ago

1.0.0-beta.11

3 years ago

1.0.0-beta.10

3 years ago

1.0.0-beta.9

3 years ago

1.0.0-beta.8

3 years ago

1.0.0-beta.7

3 years ago

1.0.0-beta.6

3 years ago

1.0.0-beta.5

3 years ago

1.0.0-beta.4

3 years ago

1.0.0-beta.3

3 years ago

1.0.0-beta.2

3 years ago

1.0.0-beta.1

3 years ago

1.0.0

3 years ago