Skip to content

setup council

Terminal window
holocron setup council [--vault <folder>] [--dry-run] [--yes]

Council is a private Obsidian plugin, so it is not on npm and not in Obsidian’s community list. setup council puts its built files, main.js and manifest.json from apps/council, into <vault>/.obsidian/plugins/holocron-council/. Run it again after a build and it updates them. Issue #2775 asked for it.

  1. Finds the vault. --vault <folder> (a leading ~ is the home folder), else the folder the configured ideas provider reads: providers.ideas, or HOLOCRON_IDEAS_DIR (see sync ideas). A path that is not a folder, or a folder with no .obsidian inside, is refused and the reason is named. The command never makes a vault.
  2. Finds the build. It reads apps/council/dist/main.js and apps/council/manifest.json from this workspace. When dist is missing it stops and names pnpm --filter @theholocron/council build; it never builds for you.
  3. Compares, asks, copies. A file that already matches is left alone. When both match, the run changes nothing and says so. Otherwise it asks first (--yes skips the question; with no terminal and no --yes it refuses), makes the plugin folder and writes the files that are new or differ.
  4. Names the step it cannot do. Turning the plugin on is Obsidian’s: open Settings, then Community plugins, reload the list and switch on Holocron Council.

It never deletes anything, and it will not write through a symbolic link: the plugins folder, the plugin folder and each file are refused when they are links. The rows name paths and states only.

Option What it does
--vault <dir> The Obsidian vault folder. Default: the folder of the configured ideas provider
--yes Copy without asking (required without a terminal)
--dry-run List the files that would be copied, and write nothing

After the files are in place, set the repo path and the command in the plugin’s settings, as the Council page describes.