@nuucognition/flint-cli 0.5.6-dev.8 → 0.6.0-dev.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 +7 -11
- package/bin/flint-prod.js +0 -2
- package/bin/flint.js +0 -2
- package/dist/index.js +177040 -18141
- package/dist/presets/blank/preset.toml +1 -1
- package/package.json +10 -10
- package/dist/chunk-4TNIFXOI.js +0 -8060
- package/dist/chunk-CMEX7263.js +0 -939
- package/dist/chunk-E35UCJ2H.js +0 -465
- package/dist/chunk-JNIJ5JV6.js +0 -233
- package/dist/chunk-JSBRDJBE.js +0 -30
- package/dist/chunk-LLLVBA4Q.js +0 -1629
- package/dist/chunk-RD3WIRZN.js +0 -243
- package/dist/chunk-V7YA5RXL.js +0 -43
- package/dist/dist-OOF7XLTD.js +0 -603
- package/dist/exports-OZQUMYQI-NXQCDWW6.js +0 -20
- package/dist/mesh-config-NTGFUNZL-BZ2GO3JY.js +0 -121
- package/dist/metadata-FASTWX6A-ITKM6C62.js +0 -34
- package/dist/plates-4TK56CGM-DZB24SP6.js +0 -42
- package/dist/registry-5CNUVQN3-PCQZRXLB.js +0 -31
- package/dist/utils-BBA2XQZO-ETTV2PHU.js +0 -9
package/README.md
CHANGED
|
@@ -152,10 +152,10 @@ flint open # Open current flint
|
|
|
152
152
|
flint open my-project # Open by name from registry
|
|
153
153
|
```
|
|
154
154
|
|
|
155
|
-
**Dev-only:**
|
|
155
|
+
**Dev-only:** use the `flint-dev` binary or a source build with no baked `BUILD_MODE`.
|
|
156
156
|
|
|
157
157
|
**Behavior:**
|
|
158
|
-
- Opens the flint in all apps configured in
|
|
158
|
+
- Opens the flint in all apps configured in the current profile config
|
|
159
159
|
- Default (no config): opens in Obsidian only
|
|
160
160
|
- Supports: obsidian, cursor, vscode, or any custom app
|
|
161
161
|
|
|
@@ -166,7 +166,7 @@ flint config set open.apps '["obsidian", "cursor"]'
|
|
|
166
166
|
|
|
167
167
|
### `flint config`
|
|
168
168
|
|
|
169
|
-
Manage
|
|
169
|
+
Manage profile-scoped Flint configuration stored at `~/.nuucognition/flint/config.toml` or `~/.nuucognition/flint-dev/config.toml`.
|
|
170
170
|
|
|
171
171
|
```bash
|
|
172
172
|
flint config # View all config
|
|
@@ -178,21 +178,17 @@ flint config set open.apps '["obsidian", "cursor"]' # Set value
|
|
|
178
178
|
|
|
179
179
|
| Key | Type | Default | Description |
|
|
180
180
|
|-----|------|---------|-------------|
|
|
181
|
-
| `mode` | string | build default | Feature mode (use `flint mode` to manage) |
|
|
182
181
|
| `open.apps` | string[] | `["obsidian"]` | Apps to open flints in |
|
|
183
182
|
|
|
184
|
-
### `flint
|
|
183
|
+
### `flint features`
|
|
185
184
|
|
|
186
|
-
|
|
185
|
+
List the commands available in the current profile.
|
|
187
186
|
|
|
188
187
|
```bash
|
|
189
|
-
flint
|
|
190
|
-
flint mode experimental
|
|
191
|
-
flint mode --list
|
|
188
|
+
flint features
|
|
192
189
|
```
|
|
193
190
|
|
|
194
|
-
|
|
195
|
-
Dev-only commands include `open` and `upgrade`.
|
|
191
|
+
Development-only commands are available from the `flint-dev` binary or from a source build with no baked `BUILD_MODE`.
|
|
196
192
|
|
|
197
193
|
### `flint git`
|
|
198
194
|
|
package/bin/flint-prod.js
CHANGED
package/bin/flint.js
CHANGED
|
@@ -10,12 +10,10 @@ const srcEntry = join(__dirname, '..', 'src', 'index.ts');
|
|
|
10
10
|
// Find tsx in node_modules (works in monorepo)
|
|
11
11
|
const tsxPath = join(__dirname, '..', 'node_modules', '.bin', 'tsx');
|
|
12
12
|
|
|
13
|
-
// Set dev mode for local development (running from source)
|
|
14
13
|
const result = spawnSync(tsxPath, [srcEntry, ...process.argv.slice(2)], {
|
|
15
14
|
stdio: 'inherit',
|
|
16
15
|
shell: true,
|
|
17
16
|
windowsHide: true,
|
|
18
|
-
env: { ...process.env, FLINT_MODE: 'dev' },
|
|
19
17
|
});
|
|
20
18
|
|
|
21
19
|
process.exit(result.status ?? 0);
|