setup council
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.
- Finds the vault.
--vault <folder>(a leading~is the home folder), else the folder the configuredideasprovider reads:providers.ideas, orHOLOCRON_IDEAS_DIR(seesync ideas). A path that is not a folder, or a folder with no.obsidianinside, is refused and the reason is named. The command never makes a vault. - Finds the build. It reads
apps/council/dist/main.jsandapps/council/manifest.jsonfrom this workspace. Whendistis missing it stops and namespnpm --filter @theholocron/council build; it never builds for you. - 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 (
--yesskips the question; with no terminal and no--yesit refuses), makes the plugin folder and writes the files that are new or differ. - 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.