context-first-cli 1.3.1 → 1.3.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.
- package/README.md +18 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,6 +53,7 @@ npm install -g context-first-cli
|
|
|
53
53
|
| `context-cli create:orchestrator` | Create a new orchestrator repository from a template with all necessary structure. |
|
|
54
54
|
| `context-cli add:repo` | Add a new code repository to `context-manifest.json` interactively. |
|
|
55
55
|
| `context-cli add:repo-metaspec` | Add or update the MetaSpecs repository in `context-manifest.json`. |
|
|
56
|
+
| `context-cli config:setup` | Interactively configure `ai.properties.md` for local development. |
|
|
56
57
|
|
|
57
58
|
### Workspace Commands
|
|
58
59
|
|
|
@@ -115,23 +116,22 @@ npx context-first-cli@latest add:repo
|
|
|
115
116
|
|
|
116
117
|
Each repository will be added to `context-manifest.json` with its configuration.
|
|
117
118
|
|
|
118
|
-
### Step 3: Configure Local
|
|
119
|
+
### Step 3: Configure Local Environment
|
|
119
120
|
|
|
120
|
-
|
|
121
|
+
Run `config:setup` to interactively configure your local `ai.properties.md` file.
|
|
121
122
|
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
meta_specs_path=/path/to/your/meta-specs
|
|
126
|
-
backend_path=/path/to/your/backend
|
|
127
|
-
frontend_path=/path/to/your/frontend
|
|
128
|
-
|
|
129
|
-
# Task Manager Configuration
|
|
130
|
-
task_management_system=jira
|
|
131
|
-
jira_site=https://your-org.atlassian.net
|
|
132
|
-
...
|
|
123
|
+
```bash
|
|
124
|
+
cd my-project-orchestrator/
|
|
125
|
+
npx context-first-cli@latest config:setup
|
|
133
126
|
```
|
|
134
127
|
|
|
128
|
+
This will ask for:
|
|
129
|
+
1. **Base workspace path** (where repositories will be cloned, e.g., `~/workspace`)
|
|
130
|
+
2. **Auto-clone** (whether to clone missing repositories automatically)
|
|
131
|
+
3. **Task manager** settings (Jira, Linear, etc.)
|
|
132
|
+
|
|
133
|
+
This generates an `ai.properties.md` file tailored to your machine, following the convention-over-configuration principle.
|
|
134
|
+
|
|
135
135
|
**Note**: This file is gitignored because it contains local paths specific to each developer.
|
|
136
136
|
|
|
137
137
|
### Step 4: Initialize Your Application Repositories
|
|
@@ -241,9 +241,11 @@ npx context-first-cli@latest add:repo
|
|
|
241
241
|
npx context-first-cli@latest add:repo
|
|
242
242
|
# ID: admin, URL: git@github.com:myorg/my-saas-admin.git
|
|
243
243
|
|
|
244
|
-
# 3. Configure local
|
|
245
|
-
|
|
246
|
-
#
|
|
244
|
+
# 3. Configure local environment
|
|
245
|
+
npx context-first-cli@latest config:setup
|
|
246
|
+
# Base path: ~/workspace
|
|
247
|
+
# Auto-clone: Yes
|
|
248
|
+
# Task manager: Jira
|
|
247
249
|
|
|
248
250
|
# 4. Push orchestrator to Git
|
|
249
251
|
git remote add origin git@github.com:myorg/my-saas-orchestrator.git
|
package/package.json
CHANGED