Skip to main content

A unified CLI wrapper for common terminal commands.

Project description

cli-commands

CI PyPI 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.1.tar.gz (13.8 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.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cli_commands_kit-1.0.1.tar.gz
  • Upload date:
  • Size: 13.8 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.1.tar.gz
Algorithm Hash digest
SHA256 3a999be9b3d84f54ab312924fe9b87bae05a06c6c1e8797b88fa6f54ac1099b1
MD5 e2d7f063dfab43cae454adea6a339dc4
BLAKE2b-256 9b09f7b8ca6433cb7b086c7ab3d627b9455b416052db3e1633fc18ee6181668a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cli_commands_kit-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4548a63e815967e2341cda424ff60fe405baf69bf1b62851079edfaf15c05e04
MD5 fe1dd8637f35053761924cea867623b7
BLAKE2b-256 fdb955b56f50230d426ada46638f8a47c1cbc2611c6999c7cc42b33d0f010d72

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