@theholocron/cli 5.0.0-alpha.394 → 5.0.0-alpha.396
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 +12 -2
- package/dist/cli.mjs +375 -78
- package/dist/cli.mjs.map +1 -1
- package/dist/{config-system-u0AcPQ77.d.mts → config-system-CYv5GFIa.d.mts} +31 -2
- package/dist/{config-system-BVYtgrmR.mjs → config-system-CeVFoOau.mjs} +13 -0
- package/dist/{index-nzzQsd0r.d.mts → index-DbbyDvZi.d.mts} +52 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +1 -1
- package/dist/plugin/capabilities.d.mts +2 -2
- package/dist/plugin/capabilities.mjs +2 -0
- package/dist/presets.d.mts +1 -1
- package/dist/presets.mjs +1 -1
- package/package.json +11 -10
package/README.md
CHANGED
|
@@ -111,7 +111,7 @@ Every command is tagged with how much of a repo it needs:
|
|
|
111
111
|
| ------------ | -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
112
112
|
| `global` | the CLI binary alone | `version`, `clone`, `new repo` / `plugin`, `repo upgrade …`, `auth set` / `check`, `package …`, `run lint commit-msg`, `skills …` |
|
|
113
113
|
| `repo-aware` | `./holocron.config`, walking up from cwd, no plugins | `run`, `run ci`, `config show`, `repo sync readme`, `deploy on-release` |
|
|
114
|
-
| `workspace` | the `@theholocron/holocron-plugin-*` packages resolvable | `doctor`, `repo setup`, `repo sync`, `repo cleanup branches`, `secrets …`, `deploy`, `sync github`, `sync issues`
|
|
114
|
+
| `workspace` | the `@theholocron/holocron-plugin-*` packages resolvable | `doctor`, `repo setup`, `repo sync`, `repo cleanup branches`, `secrets …`, `deploy`, `sync github`, `sync issues`, `ideas sync` |
|
|
115
115
|
|
|
116
116
|
A `workspace` command run from a bare global install (no plugins next to the
|
|
117
117
|
CLI) fails with one actionable line — install the plugins as devDependencies or
|
|
@@ -691,6 +691,16 @@ Provider credentials for Discord: `discord.holonet` is the **bot token** (Bot
|
|
|
691
691
|
|
|
692
692
|
See the [command pages](https://theholocron.dev/holocron/commands/notifications-setup/) for each command's options.
|
|
693
693
|
|
|
694
|
+
## Ideas
|
|
695
|
+
|
|
696
|
+
- **`holocron ideas sync [--dry-run] [--yes]`** — files the ideas that are ready: it reads them through the `ideas`
|
|
697
|
+
provider (`providers.ideas: ["obsidian", { dir }]`, an Obsidian vault; `HOLOCRON_IDEAS_DIR` overrides `dir`; the older
|
|
698
|
+
`ideas.dir` is deprecated and read as that entry when `providers.ideas` is absent) and, for each one whose status is
|
|
699
|
+
the filing state (`ideas.states.file`, default `in-progress`) with no issue, creates an issue through the `issues`
|
|
700
|
+
provider (title the first `#` heading, body the note plus `Filed from idea: <title>`) and records it with
|
|
701
|
+
`Ideas.markFiled` (an `issue:` property, for Obsidian). Ideas with attachments are skipped. It never deletes, asks first
|
|
702
|
+
unless `--dry-run` or `--yes`, and a second run changes nothing.
|
|
703
|
+
|
|
694
704
|
## Syncing issues
|
|
695
705
|
|
|
696
706
|
- **`holocron sync issues --from <a> --to <b> [--since <time>] [--yes]`** — one direction of an issue sync between two
|
|
@@ -884,7 +894,7 @@ the local override exists to exempt.
|
|
|
884
894
|
|
|
885
895
|
## What's in here
|
|
886
896
|
|
|
887
|
-
- `src/plugin/capabilities.ts` — the
|
|
897
|
+
- `src/plugin/capabilities.ts` — the 22 capability interfaces that
|
|
888
898
|
providers implement
|
|
889
899
|
- `src/config.ts` — config schema, `defineConfig`, `resolveConfig`,
|
|
890
900
|
`CapabilityConfigPackage`
|