npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@sheweny/cli

v2.2.3

Published

Cli for sheweny framework

Downloads

48

Readme

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.