refactor(cli): rename sm console script to smpy - #133
Merged
Conversation
Renames the framework's CLI binary from `sm` to `smpy` to free the short name and avoid collisions with other globally-installed `sm` tools (e.g. `.NET` `sm`). - Entry point: `framework/cli/pyproject.toml` `sm` → `smpy` (kept the `simple-module` alias). - All docstrings, comments, READMEs, Makefile targets, generated- file headers, host UI strings, locale entries, skill packs, and documentation (guides, references, release notes, historical plans + specs) updated to reference `smpy`. - Stale `sm-users` / `sm-settings` script references (removed during the earlier standalone-CLI migration) rewritten to the current `smpy users` / `smpy settings` plugin form in user- facing docs and module docstrings. - Followup from /simplify review: Landing and Doctor pages no longer claim `smpy install / migrate / dev / doctor` — those are `make` targets, not subcommands.
Deploying simple-module-python with
|
| Latest commit: |
aabc99d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://1d45366f.simple-module-python.pages.dev |
| Branch Preview URL: | https://feature-eleven-cars-pump-67i.simple-module-python.pages.dev |
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.
Summary
sm→smpy(framework/cli/pyproject.toml), freeing the shortsmname and avoiding collisions with other globally-installedsmbinaries.sm-users/sm-settingsreferences (removed during the earlier standalone-CLI migration) — user-facing docs and module docstrings now use the currentsmpy users/smpy settingsplugin form./simplifyreview: Landing and Doctor pages no longer claimsmpy install / migrate / dev / doctor— those aremaketargets, not subcommands, so they were corrected.The
simple-moduleconsole-script alias is retained, so anyone with muscle memory for the long form is unaffected.Test plan
uv run smpy --helpresolves and lists all built-in + plugin subcommandsuv run pytest framework/cli/tests modules/users/tests/test_cli.py modules/settings/tests/test_cli_import.py→ all pass (130 tests)pytestsuite — 988 pass (2 pre-existing failures on the branch, unrelated)uv run ruff check .clean,uv run ruff format --check .cleannpx biome cicleannpm test→ 8 passscripts/check_file_size.py,scripts/check_metadata.py,scripts/check_readmes.pyall green