pecunia-cli 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/README.md +0 -48
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pecunia-cli",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "type": "module",
5
5
  "module": "dist/index.mjs",
6
6
  "main": "./dist/index.mjs",
package/README.md DELETED
@@ -1,48 +0,0 @@
1
- # Better Auth CLI
2
-
3
- Better Auth comes with a built-in CLI to help you manage the database schema
4
- needed for both core functionality and plugins.
5
-
6
- ### **Init**
7
-
8
- The CLI includes an `init` command to add Better Auth to your project.
9
-
10
- ```bash title="terminal"
11
- npx @better-auth/cli@latest init
12
- ```
13
-
14
- ### **Generate**
15
-
16
- The `generate` command creates the schema required by Better Auth.
17
- If you’re using a database adapter like Prisma or Drizzle, this command will
18
- generate the right schema for your ORM.
19
- If you’re using the built-in Kysely adapter, it will generate an SQL file you
20
- can run directly on your database.
21
-
22
- ```bash title="terminal"
23
- npx @better-auth/cli@latest generate
24
- ```
25
-
26
- ### **Migrate**
27
-
28
- The `migrate` command applies the Better Auth schema directly to your database.
29
- This is available if you’re using the built-in Kysely adapter.
30
- For other adapters, you’ll need to apply the schema using your ORM’s migration
31
- tool.
32
-
33
- ```bash title="terminal"
34
- npx @better-auth/cli@latest migrate
35
- ```
36
-
37
- ### **Secret**
38
-
39
- The CLI also provides a way to generate a secret key for your Better Auth
40
- instance.
41
-
42
- ```bash title="terminal"
43
- npx @better-auth/cli@latest secret
44
- ```
45
-
46
- ## License
47
-
48
- MIT