discordjs-dependency-injection-typescript v1.1.2
Discord JS Dependency Injection Typescript
Getting Started
Create
Use my CLI to create the application. Instead of "myFolderName" you can add "." to install it in the current directory.
Always use npx
to use the latest version of the CLI.
npx eadit-cli create myFolderName
You will be asked which template do you want. For DiscordJS choose Discord.js
? What template do you want? (Use arrow keys)
Express
❯ Discord.js
Path Check
You will get the following question:
? Is the path correct? ('/my/path/to/application') (Y/n)
If the path is correct respond with Y
or press Enter
Yarn Check
If you have Yarn installed, the CLI will ask if you want to use it, if you say N
npm will be used.
? Yarn was detected on your system, do you want to use Yarn? (Y/n)
Dependency Selector
For the next part you can choose if you need more dependencies (They will be automaticly injected).
? What other dependencies do you want? (Press <space> to select, <a> to toggle all, <i> to invert selection)
For version 1.0.0
there are no dependencies yet.
Check if directory is empty
If the directory you want to create the application is not empty, you will be asked if you want to remove all files from it. If you don't remove the files the project will not be created.
? The current directory is not empty, do you want to clear it? (y/N)
Finish
After everything is installed, you should see the following output.
Cloning complete.
Installing dependencies...
npm WARN discordjs-dependency-injection-typescript-example@1.0.0 No description
Dependencies installed.
Complete!
Use npm run dev to test the application
Use npm run build to compile the application
Use npm start to run the compiled application
You can create Commands.
By using npx eadit-cli create
In the same folder with eaditconfig.json