You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 94e9add
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+60-4Lines changed: 60 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ park init
21
21
park new "revisit dashboard caching approach" \
22
22
-s "current TTL feels wrong, worth a spike" -src my-cli-tool
23
23
park new "keep an eye on API rate limits" -c area
24
+
park list
24
25
park assist
25
26
park reclassify 1767786622-idea.md -c projects
26
27
```
@@ -124,6 +125,7 @@ The JSON output includes the canonical category enum, field kinds, the date form
124
125
|`init`| create the category folders (idempotent) |
125
126
|`check`| verify category folders exist (useful for automation) |
126
127
|`new [title]`| park a new note (alias `add`) |
128
+
|`list [--all] [-c <cat>] [--json]`| list parked notes grouped by category (alias `ls`) |
127
129
|`assist`| open the tabbed TUI browser |
128
130
|`show <file>`| glamour-render a note, no TUI |
129
131
|`reclassify <file> -c <cat>`| reclassify a note (alias `recat`) |
@@ -141,6 +143,57 @@ The JSON output includes the canonical category enum, field kinds, the date form
141
143
|`-f, --from-file`| ingest an existing markdown file |
142
144
|`--filename`| explicit file slug |
143
145
146
+
### `park list` options
147
+
148
+
| option | purpose |
149
+
|--------|---------|
150
+
|`--all`| include categories excluded by config (for example archive) |
151
+
|`-c, --category`| only list these categories (repeatable; overrides exclusion) |
152
+
|`--json`| emit a versioned, machine-readable envelope |
153
+
154
+
`park list` renders one block per category: an upper-cased banner followed by each note's filename and frontmatter fields. Notes within a category are ordered oldest-modified first, and categories marked `excluded` in the config are hidden until `--all` is passed or the category is named explicitly with `-c`.
155
+
156
+
```
157
+
INBOX
158
+
-----
159
+
160
+
filename: ttl-spike.md
161
+
category: inbox
162
+
created: 2026-07-16
163
+
source: terminal
164
+
synopsis: current TTL feels wrong, worth a spike
165
+
166
+
PROJECTS
167
+
--------
168
+
169
+
filename: caching.md
170
+
category: projects
171
+
created: 2026-07-18
172
+
source: my-cli-tool
173
+
synopsis: dashboard caching rework
174
+
```
175
+
176
+
`park list --json` flattens every group into a single `items` array, each item carrying its `category`, `path`, and RFC 3339 `modified` timestamp, wrapped in a versioned envelope:
"synopsis": "current TTL feels wrong, worth a spike",
189
+
"modified": "2026-07-16T19:03:11Z"
190
+
}
191
+
]
192
+
}
193
+
```
194
+
195
+
`schema_version` tracks the frontmatter contract exposed by `park schema`, so consumers can detect drift.
196
+
144
197
### Ingestion
145
198
146
199
`park new` accepts content through two non-interactive paths:
@@ -244,29 +297,32 @@ Config lives at `<park-root>/config` as TOML. Run `park config` to print the def
244
297
```toml
245
298
default_category = "inbox"
246
299
247
-
[[categories]]
300
+
[[category]]
248
301
name = "inbox"
249
302
path = "~/.config/park/_inbox"
250
303
key = "i"
251
304
252
-
[[categories]]
305
+
[[category]]
253
306
name = "projects"
254
307
path = "~/.config/park/_projects"
255
308
key = "p"
256
309
257
-
[[categories]]
310
+
[[category]]
258
311
name = "areas"
259
312
path = "~/.config/park/_areas"
260
313
key = "a"
261
314
262
-
[[categories]]
315
+
[[category]]
263
316
name = "archive"
264
317
path = "~/.config/park/_archive"
265
318
key = "x"
319
+
excluded = true
266
320
```
267
321
268
322
Categories are fully configurable: name, storage path, and TUI hotkey. Add or remove categories to match your workflow. `default_category` is where `park new` lands notes when `-c` is omitted.
269
323
324
+
Set `excluded = true` on a category to hide it from `park list` by default; it reappears with `park list --all` or when named explicitly (`park list -c archive`). The built-in config ships with `archive` excluded.
0 commit comments