feat(cli): rename command to opk (#48) - #49
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Renames the kit CLI from
opencode-permissions-kittoopk(closes #48) and bumps VERSION to 0.0.25.
Why
opencode-permissions-kitis long to type and autocompletes poorly nextto similar commands (
opencode,openchamber). We are in alpha, so thecommand is renamed outright instead of just adding an alias.
Changes
/usr/local/bin/opkand remove thelegacy long-name symlink — running
opk updateonce migrates existinginstalls; uninstall removes both names
handover, deny-all template) use
opkopksymlink exists and the legacyname is gone after install and update
ddev-integration, troubleshooting) — cli.md documents the rename and
the one-time
opk updatemigrationDeliberately 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— greenmake lint,make check-version— greenmake e2e— 238/238make e2e-rootless— 42/42