make fix-app
Clear a dangling SPLENT_APP and return to detached mode.
Usage
make fix-app
What it does
Reads SPLENT_APP from ../.env and:
- unset → nothing to do (already detached).
- set and the product folder exists → nothing to do (valid).
- set but the product folder is missing → removes the
SPLENT_APPline, returning the workspace to detached mode.
It is idempotent and never touches a valid selection.
Why it matters
SPLENT_APP is written by splent product:select. If you
later delete or rename that product folder, SPLENT_APP becomes dangling and
the in-container prompt turns yellow:
(my_product?) /workspace$
That ? means “selected, but the folder is gone”. make fix-app clears it so
you are back to a clean detached state.
Example
🛠️ SPLENT fix-app
[✔] Cleared dangling SPLENT_APP='old_product' → detached mode
Re-select a product later with: splent product:select <name>
When to use
- The prompt shows
(name?)in yellow. make env-checkreports a danglingSPLENT_APP.
Related
splent product:select— choose a product again afterwards.splent product:deselect— the in-container way to detach.