@kuckit/cli 0.1.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 +95 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +784 -0
- package/dist/discover-module-DpVX5MIS.js +579 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +3 -0
- package/package.json +55 -0
package/README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# @kuckit/cli
|
|
2
|
+
|
|
3
|
+
CLI tools for Kuckit SDK module development.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @kuckit/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or use directly with npx:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx @kuckit/cli <command>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Prerequisites
|
|
18
|
+
|
|
19
|
+
- Node.js 18+
|
|
20
|
+
- A Kuckit account at [kuckit.dev](https://kuckit.dev)
|
|
21
|
+
|
|
22
|
+
## Authentication
|
|
23
|
+
|
|
24
|
+
Before using the CLI, you need to authenticate:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
kuckit auth login
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
This opens your browser to complete authentication. Your credentials are stored locally in `~/.kuckit/config.json`.
|
|
31
|
+
|
|
32
|
+
## Commands
|
|
33
|
+
|
|
34
|
+
### Generate a new module
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
kuckit generate module <name>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Options:
|
|
41
|
+
|
|
42
|
+
- `-o, --org <org>` - Organization scope for package name
|
|
43
|
+
- `-d, --dir <directory>` - Target directory (default: `packages`)
|
|
44
|
+
|
|
45
|
+
### Add a module to your project
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
kuckit add <package>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Installs and wires a Kuckit module into your project.
|
|
52
|
+
|
|
53
|
+
### Discover installed modules
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
kuckit discover
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Scans node_modules for installed Kuckit modules and offers to enable them.
|
|
60
|
+
|
|
61
|
+
### Check your setup
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
kuckit doctor
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Validates your Kuckit configuration and module setup.
|
|
68
|
+
|
|
69
|
+
### Search for modules
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
kuckit search <keyword>
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Search the npm registry for Kuckit modules.
|
|
76
|
+
|
|
77
|
+
### Database commands
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
kuckit db push # Push module schemas to database
|
|
81
|
+
kuckit db generate # Generate migration files
|
|
82
|
+
kuckit db studio # Open Drizzle Studio
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Authentication
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
kuckit auth login # Authenticate with Kuckit
|
|
89
|
+
kuckit auth logout # Clear stored credentials
|
|
90
|
+
kuckit auth whoami # Show current auth status
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## License
|
|
94
|
+
|
|
95
|
+
MIT
|
package/dist/bin.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|