@datacore-one/cli 1.0.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 +102 -0
- package/dist/index.js +9967 -0
- package/package.json +57 -0
package/README.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# @datacore/cli
|
|
2
|
+
|
|
3
|
+
CLI for setting up and managing Datacore installations - an AI-powered second brain built on GTD methodology.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @datacore/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or run directly with npx:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx @datacore/cli init
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Set up a new Datacore installation
|
|
21
|
+
datacore init
|
|
22
|
+
|
|
23
|
+
# Check system status
|
|
24
|
+
datacore doctor
|
|
25
|
+
|
|
26
|
+
# Daily workflow
|
|
27
|
+
datacore today
|
|
28
|
+
datacore tomorrow
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Commands
|
|
32
|
+
|
|
33
|
+
### Setup
|
|
34
|
+
|
|
35
|
+
- `datacore init` - Interactive setup wizard
|
|
36
|
+
- `datacore doctor` - Check dependencies and health
|
|
37
|
+
- `datacore tour` - Interactive walkthrough
|
|
38
|
+
- `datacore docs` - Open documentation
|
|
39
|
+
|
|
40
|
+
### Daily Use
|
|
41
|
+
|
|
42
|
+
- `datacore today` - Generate daily briefing
|
|
43
|
+
- `datacore tomorrow` - End-of-day wrap-up
|
|
44
|
+
- `datacore gtd <action>` - GTD workflow commands
|
|
45
|
+
|
|
46
|
+
### Space Management
|
|
47
|
+
|
|
48
|
+
- `datacore space create` - Create a new space
|
|
49
|
+
- `datacore space list` - List all spaces
|
|
50
|
+
- `datacore space audit <name>` - Audit space structure
|
|
51
|
+
|
|
52
|
+
### Module Management
|
|
53
|
+
|
|
54
|
+
- `datacore module install <name>` - Install a module
|
|
55
|
+
- `datacore module list` - List modules
|
|
56
|
+
- `datacore module update` - Update all modules
|
|
57
|
+
|
|
58
|
+
### File Management
|
|
59
|
+
|
|
60
|
+
- `datacore ingest <path>` - Import files with AI processing
|
|
61
|
+
- `datacore sync` - Git sync all repos
|
|
62
|
+
|
|
63
|
+
### Configuration
|
|
64
|
+
|
|
65
|
+
- `datacore config show` - Show settings
|
|
66
|
+
- `datacore config get <key>` - Get a setting
|
|
67
|
+
- `datacore config set <key> <value>` - Set a setting
|
|
68
|
+
- `datacore context rebuild` - Rebuild CLAUDE.md files
|
|
69
|
+
|
|
70
|
+
### Automation
|
|
71
|
+
|
|
72
|
+
- `datacore nightshift status` - Nightshift queue status
|
|
73
|
+
- `datacore cron install` - Set up scheduled tasks
|
|
74
|
+
|
|
75
|
+
## Architecture
|
|
76
|
+
|
|
77
|
+
The CLI is a thin wrapper that:
|
|
78
|
+
1. Collects parameters interactively
|
|
79
|
+
2. Invokes Datacore agents via Claude Code
|
|
80
|
+
3. Reports results
|
|
81
|
+
|
|
82
|
+
Semantic work (file routing, knowledge extraction, task processing) is handled by agents, not the CLI.
|
|
83
|
+
|
|
84
|
+
## Development
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# Install dependencies
|
|
88
|
+
bun install
|
|
89
|
+
|
|
90
|
+
# Run in development
|
|
91
|
+
bun run dev
|
|
92
|
+
|
|
93
|
+
# Run tests
|
|
94
|
+
bun test
|
|
95
|
+
|
|
96
|
+
# Build
|
|
97
|
+
bun run build
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## License
|
|
101
|
+
|
|
102
|
+
MIT
|