Skip to main content

cli-commander

A CLI tool for version controlled aliases inspired by dbt selectors.

Installation

Install via pip:

pip install cli-commander

Or install from source:

git clone https://github.com/cli-commander/cli-commander.git
cd cli-commander
pip install -e .

Usage

Configuration

cli-command looks for a configuration file named cli-commander.yml in either:

  • Your current directory (.), or
  • Your home directory (~/.cli-commander/)

The tool will check the local directory first, then fall back to the home directory.

You can autocreate this with a template by running:

cmdr init

Configuration Format

selectors:
  selector-name:
    description: "Description of what this command does"
    command: "command to execute"

Example Configuration

selectors:
  test:
    description: "Run all tests"
    command: "pytest"
  
  build:
    description: "Build the project"
    command: "python setup.py build"
  
  lint:
    description: "Lint code with flake8"
    command: "flake8 ."

Running Commands

Execute a selector using the cmdr command:

cmdr <selector-name>

For example:

cmdr test
cmdr build
cmdr lint

List Available Selectors

To see all available selectors from your configuration:

cmdr --list

License

MIT License - see LICENSE file for details.

Metadata

Release files for cli-cmdr 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cli-cmdr 0.1.0
File Size Uploaded Provenance Actions
cli_cmdr-0.1.0.tar.gz 7.1 kB With provenance Details for cli_cmdr-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cli-cmdr 0.1.0
File Interpreter ABI Platform Actions
cli_cmdr-0.1.0-py3-none-any.whl Python 3 none any Details for cli_cmdr-0.1.0-py3-none-any.whl

Total release size: 16.7 kB

Release files / cli_cmdr-0.1.0.tar.gz

Download URL cli_cmdr-0.1.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c21d0dcb15a9ba873ba7ac4ebd9e6fa1355a6e70fe3f6084ed23723fb538c095
BLAKE2b-256 checksum
How to use checksums
7c081463c280df7228aa21afc210f10191038bb467da0938b4a77ed99d8c41bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2025.

Transparency log

Release files / cli_cmdr-0.1.0-py3-none-any.whl

Download URL cli_cmdr-0.1.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
977cfd1fd5c6dfa3475836c53026b0db981f51b1d740c3c61da360ee2cc2593e
BLAKE2b-256 checksum
How to use checksums
dbea19f5ffee0721c8fe3e0c81aeac7207fcd2214ea598170fd20d841569666d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2025.

Transparency log

Security for cli-cmdr 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cli_cmdr-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 30, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page