Skip to content

refactor(cli): rename sm console script to smpy - #133

Merged
antosubash merged 1 commit into
mainfrom
feature/eleven-cars-pump-67ixa
May 11, 2026
Merged

refactor(cli): rename sm console script to smpy#133
antosubash merged 1 commit into
mainfrom
feature/eleven-cars-pump-67ixa

Conversation

@antosubash

Copy link
Copy Markdown
Owner

Summary

  • Renames the framework CLI binary smsmpy (framework/cli/pyproject.toml), freeing the short sm name and avoiding collisions with other globally-installed sm binaries.
  • Propagates the rename across all docstrings, comments, READMEs, Makefile, generated-file headers, host UI strings, locale entries, skill packs, and docs (guides, references, release notes, historical plans + specs).
  • Cleans up stale sm-users / sm-settings references (removed during the earlier standalone-CLI migration) — user-facing docs and module docstrings now use the current smpy users / smpy settings plugin form.
  • Followup from /simplify review: Landing and Doctor pages no longer claim smpy install / migrate / dev / doctor — those are make targets, not subcommands, so they were corrected.

The simple-module console-script alias is retained, so anyone with muscle memory for the long form is unaffected.

Test plan

  • uv run smpy --help resolves and lists all built-in + plugin subcommands
  • uv run pytest framework/cli/tests modules/users/tests/test_cli.py modules/settings/tests/test_cli_import.py → all pass (130 tests)
  • Full pytest suite — 988 pass (2 pre-existing failures on the branch, unrelated)
  • uv run ruff check . clean, uv run ruff format --check . clean
  • npx biome ci clean
  • npm test → 8 pass
  • scripts/check_file_size.py, scripts/check_metadata.py, scripts/check_readmes.py all green

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.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying simple-module-python with  Cloudflare Pages  Cloudflare Pages

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

View logs

@antosubash
antosubash merged commit 67f53ba into main May 11, 2026
12 checks passed
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