Skip to main content

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.

Metadata

Release files for cli-commands-kit 1.0.2

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-commands-kit 1.0.2
File Size Uploaded
cli_commands_kit-1.0.2.tar.gz 13.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cli-commands-kit 1.0.2
File Interpreter ABI Platform
cli_commands_kit-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 25.3 kB

Release files / cli_commands_kit-1.0.2.tar.gz

Download URL cli_commands_kit-1.0.2.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f2a7d5aa92d9bd2d17d6ba6e27a79a74365ced19fb32926a33a4e50b166ea084
BLAKE2b-256 checksum
How to use checksums
1228820fdba24c532c4ffb27d5ea7f017d817d25d4399be57ea5a5728b3c6f44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / cli_commands_kit-1.0.2-py3-none-any.whl

Download URL cli_commands_kit-1.0.2-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
468358acc821ae2d9221737258c2cb17120ecbe158c6af38164f8a165950d43a
BLAKE2b-256 checksum
How to use checksums
63b484536035a5c555e76f506855fd067fa3642fb7e4f7f8a669c3e0b8ba1dd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

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