Skip to content

fix(lifeos): print the current 'lifeos' command name instead of the old 'k' - #1745

Open
elhoim wants to merge 1 commit into
danielmiessler:mainfrom
elhoim:fix/lifeos-cli-usage-strings
Open

fix(lifeos): print the current 'lifeos' command name instead of the old 'k'#1745
elhoim wants to merge 1 commit into
danielmiessler:mainfrom
elhoim:fix/lifeos-cli-usage-strings

Conversation

@elhoim

@elhoim elhoim commented Aug 3, 2026

Copy link
Copy Markdown

What

install/LIFEOS/TOOLS/lifeos.ts still prints and documents the launcher's old command name, k. Every install path wires the alias as lifeos (install/install.sh:316, INSTALL.md:103, Workflows/Setup.md:56), so the usage lines the CLI prints are not runnable as shown on a current install.

Change (one file)

install/LIFEOS/TOOLS/lifeos.ts — renames klifeos in 15 places: the wallpaper usage/example lines, the update-available hint, the mcp set usage lines (2), the profiles header, the three Examples: lines in mcp list, the mcp list | mcp set and prompt error strings, the cmdDoctor docblock (3 mentions), the bun ---swallowing comment, and the -r session-ID comment.

Strings only — no behaviour change, no control flow touched. The three Examples: lines got their inline # comments re-aligned since the command grew five characters.

Deliberately not renamed: .map(([k]) => k) in getMcpProfiles() — that k is a destructured entry key, unrelated to the command name.

Verification

  • bun build --target=bun --no-bundle install/LIFEOS/TOOLS/lifeos.ts — parses clean.
  • Ran the equivalent change against my own install and executed lifeos mcp list; output now reads Profiles (use with 'lifeos mcp set') and the three examples print runnable commands.
  • rg '\bk\b' install/LIFEOS/TOOLS/lifeos.ts → only the destructured-variable line remains.
  • Not run: a fresh-system install verification (step 3 of the contributing process).

…comments

The launcher was renamed from 'k' to 'lifeos', but the printed usage
strings and several code comments still told users to run 'k'. Every
install path (install.sh, INSTALL.md, Setup.md) wires the alias as
'lifeos', so the printed advice was unrunnable as shown.

Renames the stale command name in user-facing output and comments only;
no behaviour change. The destructured variable 'k' in getMcpProfiles()
is untouched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant