Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.
/ djs-template-cli Public archive

πŸ“¦ [Archived] Easy way to create new discord.js project

License

Notifications You must be signed in to change notification settings

azukashi/djs-template-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

59 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– djs-template-cli

NPM banner

NPM version NPM downloads

➑️ Usage

πŸ“¦ Install this package

sudo may required for UNIX-based system

πŸ“¦ npm

$ npm install -g djs-template-cli
#
# added ??? packages, and audited ??? packages in 2.35s
# found 0 vulnerabilities

🐈 yarn

$ yarn global add djs-template-cli
#
# yarn global v1.22.xx
# [1/4] πŸ”  Resolving packages...
# [2/4] 🚚  Fetching packages...
# [3/4] πŸ”—  Linking dependencies...
# [4/4] πŸ”¨  Building fresh packages...
#
# success Installed "djs-template-cli" with binaries:
#       - djs-cli
#       - discord.js-cli
# ✨  Done in 1s.

πŸƒ Start creating new project

$ djs-cli [OPTIONS...]
# or
$ discord.js-cli [OPTIONS...]

Notice : This package will create a project inside your current working directory (pwd). To avoid creating a project in wrong directory (ex: in your /home/user directory), create an empty directory, change dir to newly created directory, and run the main binary

πŸ“š Options

Available options for this package. If no options are used, a user interface prompt will show up instead

Options Description Default
javascript Create JavaScript-based discord.js project true
typescript Create TypeScript-based discord.js project false
-g, --git Initialize Git inside the project false
-i, --install Install required dependecies when creating a project false
-y, --yes Skip prompt and use default option false

🏷️ Discord.js version

  • JavaScript Template uses Discord.js version : 13.8.1
  • TypeScript Template uses Discord.js version : 13.8.1

πŸ‘¨β€πŸ’» Contributing

Contributions are welcome! Feel free to submit a Pull Request with improvements!

🧾 License

djs-template-cli is Licensed Under MIT License.