Skip to content

Add 'is' command alias and PyPI deployment instructions#8

Merged
MightyHelper merged 2 commits into
masterfrom
copilot/convert-to-command-line-tool
Sep 10, 2025
Merged

Add 'is' command alias and PyPI deployment instructions#8
MightyHelper merged 2 commits into
masterfrom
copilot/convert-to-command-line-tool

Conversation

Copilot AI commented Sep 9, 2025

Copy link
Copy Markdown

This PR makes the interactive-sort package fully pip installable with two command-line entry points as requested in the issue.

Changes Made

1. Added is command alias

Updated pyproject.toml to include a short alias for the interactive sorting tool:

[project.scripts]
interactive-sort = "interactive_sort.main:main"
is = "interactive_sort.main:main"

After installation, users can now run the tool using either command:

  • interactive-sort [OPTIONS] - Full command name
  • is [OPTIONS] - Short alias for convenience

Both commands are functionally identical and provide the same interactive sorting experience with real-time display.

2. Created comprehensive deployment guide

Added DEPLOY.md with step-by-step instructions for building and uploading the package to PyPI, including:

  • Prerequisites and setup (build tools, PyPI credentials)
  • Building distribution files with python -m build
  • Testing the build locally before deployment
  • Uploading to Test PyPI first, then production
  • Version management guidelines
  • Reference for both available commands

Package Status

The package was already properly structured for pip installation with modern pyproject.toml configuration. This PR simply adds the requested second command and deployment documentation. The package is now ready for distribution to PyPI following the instructions in DEPLOY.md.

Fixes #7.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: MightyHelper <32612290+MightyHelper@users.noreply.github.com>
Copilot AI changed the title [WIP] Convert to command Add 'is' command alias and PyPI deployment instructions Sep 9, 2025
Copilot AI requested a review from MightyHelper September 9, 2025 01:25
@MightyHelper
MightyHelper marked this pull request as ready for review September 10, 2025 00:01
@MightyHelper
MightyHelper merged commit de7d866 into master Sep 10, 2025
4 checks passed
@MightyHelper
MightyHelper deleted the copilot/convert-to-command-line-tool branch September 10, 2025 00:01
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.

Convert to command

2 participants