@nowline/cli 0.0.0-dev.20261014001415.g49e010f → 0.0.0-dev.20261014154114.g5da7d2a
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 +10 -5
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +2 -2
- package/package.json +14 -14
- package/src/generated/version.ts +2 -2
package/README.md
CHANGED
|
@@ -104,14 +104,14 @@ nowline roadmap.nowline --headless # bundled DejaVu fonts (determi
|
|
|
104
104
|
|
|
105
105
|
| Flag | Default | Notes |
|
|
106
106
|
|-----------------------|--------------|---------------------------------------------|
|
|
107
|
-
| `-t, --theme <name>` | `light` | `light` \| `dark`.
|
|
108
|
-
| `--now YYYY-MM-DD` | today (
|
|
107
|
+
| `-t, --theme <name>` | `light` | `light` \| `dark` \| `grayscale`. |
|
|
108
|
+
| `--now YYYY-MM-DD` | today (local) | Override the now-line anchor date. Use `--now -` to suppress it. Without `--now`, today is the local civil date, or the date in `--timezone` when set. |
|
|
109
109
|
| `--no-links` | (off) | Omit link icons from items. |
|
|
110
110
|
| `-s, --scale <n>` | `1` | Raster scale (PNG only). |
|
|
111
111
|
| `--strict` | (off) | Promote asset / sanitizer warnings to errors. |
|
|
112
112
|
| `-w, --width <px>` | fit content | Maximum canvas width. The timeline shrinks to fit (down to 1 px/day); spilled captions can still overflow. |
|
|
113
113
|
| `--non-working <mode>` | (file key, else `hide`) | `hide` \| `show`. How a business calendar's non-working days appear: collapsed, or drawn as shaded bands. Overrides the file's `default roadmap non-working:` key; omit it to let the key apply. Also accepted by `--serve`. |
|
|
114
|
-
| `--asset-root <dir>` | input dir
|
|
114
|
+
| `--asset-root <dir>` | `.nowlinerc` `assetRoot`, else input dir | Root for `logo:` / image refs. |
|
|
115
115
|
|
|
116
116
|
### Format-specific options
|
|
117
117
|
|
|
@@ -132,6 +132,9 @@ nowline roadmap.nowline --headless # bundled DejaVu fonts (determi
|
|
|
132
132
|
| `-p, --port <n>` | `4318` |
|
|
133
133
|
| `--host <host>` | `127.0.0.1` |
|
|
134
134
|
| `--open` | (off) |
|
|
135
|
+
| `-w, --width <px>` | `.nowlinerc` `width`, else fit content |
|
|
136
|
+
| `--no-links` | (off) |
|
|
137
|
+
| `--strict` | (off) |
|
|
135
138
|
|
|
136
139
|
### Logging (mutually exclusive)
|
|
137
140
|
|
|
@@ -202,7 +205,7 @@ Mutual exclusivity rules (all exit 2 with a message):
|
|
|
202
205
|
|
|
203
206
|
## Configuration: `.nowlinerc`
|
|
204
207
|
|
|
205
|
-
On any operation that takes an `<input>` file, `nowline` walks up from the input file's directory looking for a `.nowlinerc` (JSON or YAML). The nearest one wins. Each key is the default for its flag: a flag on the command line wins, then the key, then the built-in default. An invalid value is a usage error that names the key. `--serve` reads `theme` and `
|
|
208
|
+
On any operation that takes an `<input>` file, `nowline` walks up from the input file's directory looking for a `.nowlinerc` (JSON or YAML). The nearest one wins. Each key is the default for its flag: a flag on the command line wins, then the key, then the built-in default. An invalid value is a usage error that names the key. `--serve` reads `theme`, `width`, `locale` and `assetRoot`. Environment variables are not consulted, except the locale variables, which rank above the `locale` key.
|
|
206
209
|
|
|
207
210
|
```yaml
|
|
208
211
|
# .nowlinerc (YAML)
|
|
@@ -218,6 +221,7 @@ fontSans: sf # --font-sans (alias or path)
|
|
|
218
221
|
fontMono: sf-mono # --font-mono
|
|
219
222
|
headlessFonts: false # --headless
|
|
220
223
|
useSystemFonts: false # --use-system-fonts
|
|
224
|
+
assetRoot: assets # --asset-root (relative to this file)
|
|
221
225
|
```
|
|
222
226
|
|
|
223
227
|
```json
|
|
@@ -231,7 +235,8 @@ useSystemFonts: false # --use-system-fonts
|
|
|
231
235
|
"fontSans": "sf",
|
|
232
236
|
"fontMono": "sf-mono",
|
|
233
237
|
"headlessFonts": false,
|
|
234
|
-
"useSystemFonts": false
|
|
238
|
+
"useSystemFonts": false,
|
|
239
|
+
"assetRoot": "assets"
|
|
235
240
|
}
|
|
236
241
|
```
|
|
237
242
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const CLI_VERSION = "0.0.0-dev.
|
|
1
|
+
export declare const CLI_VERSION = "0.0.0-dev.20261014154114.g5da7d2a";
|
|
2
2
|
export interface CliBuild {
|
|
3
3
|
/** Short git SHA at build time, or empty when not in a git checkout. */
|
|
4
4
|
readonly sha: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Auto-generated by scripts/bundle-templates.mjs. Do not edit by hand.
|
|
2
|
-
export const CLI_VERSION = "0.0.0-dev.
|
|
2
|
+
export const CLI_VERSION = "0.0.0-dev.20261014154114.g5da7d2a";
|
|
3
3
|
export const CLI_BUILD = {
|
|
4
|
-
"sha": "
|
|
4
|
+
"sha": "5da7d2a",
|
|
5
5
|
"isRelease": false,
|
|
6
6
|
"isDirty": true
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nowline/cli",
|
|
3
|
-
"version": "0.0.0-dev.
|
|
3
|
+
"version": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
4
4
|
"description": "Command-line tool to check, convert, and create Nowline roadmaps.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"engines": {
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
"@clack/prompts": "^1.8.1",
|
|
35
35
|
"@modelcontextprotocol/node": "^2.1.0",
|
|
36
36
|
"@modelcontextprotocol/server": "^2.2.0",
|
|
37
|
-
"@nowline/config": "0.0.0-dev.
|
|
38
|
-
"@nowline/core": "0.0.0-dev.
|
|
39
|
-
"@nowline/export": "0.0.0-dev.
|
|
40
|
-
"@nowline/export-core": "0.0.0-dev.
|
|
41
|
-
"@nowline/export-html": "0.0.0-dev.
|
|
42
|
-
"@nowline/export-mermaid": "0.0.0-dev.
|
|
43
|
-
"@nowline/export-msproj": "0.0.0-dev.
|
|
44
|
-
"@nowline/export-pdf": "0.0.0-dev.
|
|
45
|
-
"@nowline/export-png": "0.0.0-dev.
|
|
46
|
-
"@nowline/export-xlsx": "0.0.0-dev.
|
|
47
|
-
"@nowline/layout": "0.0.0-dev.
|
|
48
|
-
"@nowline/mcp": "0.0.0-dev.
|
|
49
|
-
"@nowline/renderer": "0.0.0-dev.
|
|
37
|
+
"@nowline/config": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
38
|
+
"@nowline/core": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
39
|
+
"@nowline/export": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
40
|
+
"@nowline/export-core": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
41
|
+
"@nowline/export-html": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
42
|
+
"@nowline/export-mermaid": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
43
|
+
"@nowline/export-msproj": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
44
|
+
"@nowline/export-pdf": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
45
|
+
"@nowline/export-png": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
46
|
+
"@nowline/export-xlsx": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
47
|
+
"@nowline/layout": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
48
|
+
"@nowline/mcp": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
49
|
+
"@nowline/renderer": "0.0.0-dev.20261014154114.g5da7d2a",
|
|
50
50
|
"chalk": "^6.0.1",
|
|
51
51
|
"citty": "^0.2.2",
|
|
52
52
|
"consola": "^3.4.2",
|
package/src/generated/version.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Auto-generated by scripts/bundle-templates.mjs. Do not edit by hand.
|
|
2
2
|
|
|
3
|
-
export const CLI_VERSION = "0.0.0-dev.
|
|
3
|
+
export const CLI_VERSION = "0.0.0-dev.20261014154114.g5da7d2a";
|
|
4
4
|
|
|
5
5
|
export interface CliBuild {
|
|
6
6
|
/** Short git SHA at build time, or empty when not in a git checkout. */
|
|
@@ -12,7 +12,7 @@ export interface CliBuild {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const CLI_BUILD: CliBuild = {
|
|
15
|
-
"sha": "
|
|
15
|
+
"sha": "5da7d2a",
|
|
16
16
|
"isRelease": false,
|
|
17
17
|
"isDirty": true
|
|
18
18
|
};
|