Skip to main content

A unified CLI wrapper for common terminal commands.

Project description

cli-commands

GitHub repo CI PyPI License GitHub stars

cli-commands provides a single entrypoint for common terminal tasks. It keeps commands short, consistent, and easy to remember.

Package Names

  • GitHub repo: cli-commands
  • PyPI package: cli-commands-kit (install with pip install cli-commands-kit)
  • Legacy package: linux-command (older name; still installable but no longer updated)

Why cli-commands

Linux commands are powerful but easy to forget, especially for archives and process checks. cli-commands lowers the mental load with a unified syntax that reads like the task itself. For example, cmd tar <source> <output.tar> means “pack <source> into <output.tar>,” no long flags to recall.

Installation

To install the package, run the following command:

pip install cli-commands-kit

Install From Source (Development)

If you want to develop or modify the tool locally:

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

Usage

Once installed, run commands with cmd <command> [args...] or cli <command> [args...].

  • cmd -h / cmd --help lists all available commands.
  • cmd <command> -h shows usage and examples for a specific command.
  • cli behaves the same as cmd (alternate entrypoint).

Quick examples:

cmd tar ./src out.tar.gz
cmd untar archive.tar.gz ./out
cmd ps-grep python

Before vs cmd:

tar -czvf out.tar.gz ./src        ->  cmd tar ./src out.tar.gz
tar -xzvf archive.tar.gz -C ./out ->  cmd untar archive.tar.gz ./out
ps aux | grep python              ->  cmd ps-grep python

Full command list, examples, and aliases live in USAGE.md.

Contributing

We welcome contributions from the community! If you'd like to help improve cli-commands, feel free to report issues or submit pull requests.

Guidelines for Contributors

  • Follow the existing coding style where possible.
  • Make sure your changes do not break existing functionality.
  • Before submitting a major feature, it’s often a good idea to first discuss it by opening an issue.

Thank you!

Thank you for your interest in contributing to cli-commands! Your contributions are greatly appreciated and help make this tool better for everyone. For any questions or to get started, feel free to reach out or open an issue.


License

This project is licensed under the MIT License.

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

cli_commands_kit-1.0.2.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

cli_commands_kit-1.0.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file cli_commands_kit-1.0.2.tar.gz.

File metadata

  • Download URL: cli_commands_kit-1.0.2.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for cli_commands_kit-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f2a7d5aa92d9bd2d17d6ba6e27a79a74365ced19fb32926a33a4e50b166ea084
MD5 d1835d838614fe1adb9cd1b08169a7b3
BLAKE2b-256 1228820fdba24c532c4ffb27d5ea7f017d817d25d4399be57ea5a5728b3c6f44

See more details on using hashes here.

File details

Details for the file cli_commands_kit-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cli_commands_kit-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 468358acc821ae2d9221737258c2cb17120ecbe158c6af38164f8a165950d43a
MD5 eae0476f3f9dc33696be6f0fb9583866
BLAKE2b-256 63b484536035a5c555e76f506855fd067fa3642fb7e4f7f8a669c3e0b8ba1dd2

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