Skip to content

feat(cli): rename command to opk (#48) - #49

Merged
steffenmaechtel merged 2 commits into
masterfrom
feature/opk-command
Aug 29, 2026
Merged

feat(cli): rename command to opk (#48)#49
steffenmaechtel merged 2 commits into
masterfrom
feature/opk-command

Conversation

@steffenmaechtel

Copy link
Copy Markdown
Owner

What

Renames the kit CLI from opencode-permissions-kit to opk
(closes #48) and bumps VERSION to 0.0.25.

Why

opencode-permissions-kit is long to type and autocompletes poorly next
to similar commands (opencode, openchamber). We are in alpha, so the
command is renamed outright instead of just adding an alias.

Changes

  • install.sh / update.sh now create /usr/local/bin/opk and remove the
    legacy long-name symlink — running opk update once migrates existing
    installs; uninstall removes both names
  • usage text and all user-facing hints (status, config, ddev-hosts,
    handover, deny-all template) use opk
  • tests updated; e2e now asserts the opk symlink exists and the legacy
    name is gone after install and update
  • docs updated (cli.md, files.md, getting-started, how-to pages,
    ddev-integration, troubleshooting) — cli.md documents the rename and
    the one-time opk update migration

Deliberately unchanged

Deploy paths stay as they are (renaming them would break upgrades):
/usr/local/lib/opencode-permissions-kit, /etc/opencode-permissions-kit,
sudoers rules, rc-file hooks, log/backup dirs, repo URLs, and the TUI
product-name strings.

Testing

  • sh tests/test-*.sh — green
  • make lint, make check-version — green
  • make e2e — 238/238
  • make e2e-rootless — 42/42

opencode-permissions-kit -> opk: install/update create /usr/local/bin/opk
and remove the legacy long-name symlink (update migrates old installs);
uninstall removes both names. Command hints, usage text, tests and docs
updated; deploy paths, sudoers, rc hooks and library dir unchanged.

@steffenmaechtel steffenmaechtel left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed

@steffenmaechtel
steffenmaechtel merged commit 40733a4 into master Aug 29, 2026
3 checks passed
@steffenmaechtel
steffenmaechtel deleted the feature/opk-command branch August 29, 2026 19:35
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.

shorthand for opencode-permissions-kit like opk ?

1 participant