create-seedcord 0.0.1 → 0.1.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,8 +5,44 @@
5
5
  </picture>
6
6
  </p>
7
7
 
8
- # @seedcord/create-seedcord
8
+ # create-seedcord
9
9
 
10
- Scaffold a new seedcord bot project
10
+ Scaffold a new seedcord bot project.
11
+
12
+ ## Usage
13
+
14
+ ```sh
15
+ pnpm create seedcord my-bot
16
+ npm create seedcord my-bot
17
+ yarn create seedcord my-bot
18
+ ```
19
+
20
+ It asks where the project goes, how Discord reaches your bot, what the bot should react to, your bot token, and an accent color. Then it writes the project, installs, formats, generates your command types, and makes the first commit.
21
+
22
+ ## Flags
23
+
24
+ Every question has a flag. Pass them all to skip all questions. `--help` prints the list.
25
+
26
+ npm forwards flags to the package only after a `--`:
27
+
28
+ ```sh
29
+ npm create seedcord my-bot -- --transport gateway --capabilities reactions
30
+ pnpm create seedcord my-bot --transport gateway --capabilities reactions
31
+ ```
32
+
33
+ `--no-install` and `--no-git` turn off those two steps.
34
+
35
+ With no terminal to ask on, it reads the flags alone. It names the flag that would supply any answer you left out.
36
+
37
+ ## What you get
38
+
39
+ You get a TypeScript project with one slash command, its handler, a sample event handler (if you picked `gateway`), `seedcord.config.ts`, eslint, prettier, and a `.env` listing every key the framework reads.
40
+
41
+ `pnpm dev` starts it with hot reload. On the http transport it also opens a cloudflared tunnel and sets it up, and Discord posts interactions to that URL.
42
+
43
+ ## Docs
44
+
45
+ - Guide: <https://guide.seedcord.org>
46
+ - API reference: <https://docs.seedcord.org>
11
47
 
12
48
  Part of the [seedcord](https://github.com/seedcord/seedcord) framework. Until a major v1.0.0 release, expect breaking changes in minor versions.