How CLI
How CLI is a terminal-based assistant that generates precise shell commands for any task you ask. Powered by Google Gemini’s generative AI, it provides context-aware, executable shell commands tailored to your current environment.
Features
- Generate exact shell commands based on your current working directory, OS, and available tools.
- Context-aware: considers files, git repositories, shell type, and installed tools.
- Command history logging for easy reference.
- Clipboard support: copies generated commands automatically.
- Typewriter effect for visually appealing output (optional).
- Configurable Google Gemini API key.
- Handles API errors, content blocks, and timeouts gracefully.
Installation
Using pip:
pip install how-cli-assist
Quick Start
Open your terminal and try:
# Examples:
how to create a Python virtual environment
> python -m venv env
how to list all files modified in the last 7 days
> find . -type f -mtime -7
# Show your previous questions and commands
how --history
# Set or update your Google Gemini API key
how --api-key YOUR_GEMINI_API_KEY_HERE
Options
--silent : Suppress spinner and typewriter effect.
--type : Show output with typewriter effect.
--history : Display previous questions and generated commands.
--help : Show help message and exit.
--api-key <API_KEY> : Set or replace your Google Gemini API key.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Metadata
Release files for how-cli-assist 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| how_cli_assist-1.0.1.tar.gz | 6.5 kB | Without provenance | Details for how_cli_assist-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| how_cli_assist-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for how_cli_assist-1.0.1-py3-none-any.whl |
Total release size: 13.7 kB
Release files / how_cli_assist-1.0.1.tar.gz
| Download URL | how_cli_assist-1.0.1.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85bc36eacfc0d4f1b77239557230048ea9b899dd272765941c679554f03f512d
|
|
BLAKE2b-256 checksum How to use checksums |
54474d70069c3a72c3b29f4771ac8d91f02af4b21381cb1c25d3a2b7bd0ac7ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / how_cli_assist-1.0.1-py3-none-any.whl
| Download URL | how_cli_assist-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8251f2a5fe4ba8c7b8f34d4a05d8c4644f4e12da6d891073d9cc1a91974f02a2
|
|
BLAKE2b-256 checksum How to use checksums |
d028d99c88d13f2151734c4dcd921f48f1a3127c56b60423604f904d4aa6ae61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for how-cli-assist 1.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.