Skip to main content

xpln is a CLI tool that explains terminal commands for you before you run them

Project description

xpln 🛠️

xpln is a python package made available as a CLI tool that explains terminal commands for you to understand what they do before you execute them.

📦Installation

xpln is available on PyPI under the package name xpln2me. It can be installed by running

pip install xpln2me

At this point, xpln should be globally accessible from the terminal!

[!NOTE] On linux, this may not be as straightforward due to restrictions of direct installations of non-Debian-packaged Python packages. It's recommended to use pipx install xpln2me for this instead which will automatically create a virtual environment to install the package and creates a symlink in /.local/bin/xpln pointing to the real executable

📌 Usage

Basic Usage

Run xpln on the terminal to begin, or xpln --help to get the available commands image

Example Usage

xpln this ls -al

⚙️ Technical Details

Tools Used

  • Python 3.12 - Core language
  • Poetry - Dependency & package management
  • Click/Typer - CLI framework
  • GitHub Actions - CI/CD automation

How xpln2me is Packaged

  • Python CLI tools can be packaged as:

    • sdist [Source Distribution] - Requires building before installation
    • Wheel (.whl) [Built Distribution] - Prebuilt, faster to install
  • This project uses Poetry to build and distribute both formats.

Versioning & Automated Releases

  • Uses Semantic Versioning: MAJOR.MINOR.PATCH
  • On PR merge, GitHub Actions:
    1. Bumps the version

      This is done by including special indicators in PR titles (commit messages to main)

      • #major - bumps the major version
      • #minor - bumps the minor version
      • Failure to include one of these bumps the patch version
    2. Creates a Git tag
    3. Publishes to PyPI the new version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xpln2me-0.0.3.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xpln2me-0.0.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file xpln2me-0.0.3.tar.gz.

File metadata

  • Download URL: xpln2me-0.0.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.8.0-1021-azure

File hashes

Hashes for xpln2me-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4cd70a085f42d39582b64f2621cf4c4753a673ae0195965f3e5255d0e4a4a93f
MD5 e5070072912a1691b11e0490b99b64e1
BLAKE2b-256 ec9f8ff826d10e0e090945183f8007ff672bb1fbf2f6da14c490823294bc6875

See more details on using hashes here.

File details

Details for the file xpln2me-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: xpln2me-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.8.0-1021-azure

File hashes

Hashes for xpln2me-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5ef8fdef037b3213c4b2fb157b732328965a6e1d1020fb87e5f807667aac4f35
MD5 c98e94bf0a1f013090e6dd68ac344a61
BLAKE2b-256 52d5aab09168e927deede7380b73cf1521f1597f1e1624df281f2e8985f5ce93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page