From 3b1a65359c4ab8b2066f9402fdcf31b2452ee001 Mon Sep 17 00:00:00 2001 From: Chili Palmer Date: Mon, 3 Aug 2026 11:04:02 +0200 Subject: [PATCH] Install the CLI with an overwriting symbolic link. --- CLI.md | 4 +- README.md | 4 +- crates/bds-cli/src/lib.rs | 16 +-- crates/bds-core/src/engine/cli_launcher.rs | 110 +++++++++------------ specs/cli.allium | 14 +-- 5 files changed, 69 insertions(+), 79 deletions(-) diff --git a/CLI.md b/CLI.md index 7718a4f..c816b54 100644 --- a/CLI.md +++ b/CLI.md @@ -19,7 +19,7 @@ Typical uses: scripted rebuilds and site generation, publishing from CI or cron, ## Installing the CLI -Install the launcher from the desktop app under **Settings → Data**, or run `bds-cli install` from a packaged binary. Both place a small forwarding launcher in `~/.local/bin` that executes the packaged CLI next to the shared runtime. Make sure `~/.local/bin` is on your `PATH`. +Install the command from the desktop app under **Settings → Data**, or run `bds-cli install` from a packaged binary. Both replace `~/.local/bin/bds-cli` with a symbolic link to that package's CLI, keeping the command on the selected package and beside its shared runtime. Make sure `~/.local/bin` is on your `PATH`. ## Global flags and output @@ -54,7 +54,7 @@ All commands operate on the active project from the shared project registry unle | `lua