Skip to main content

Natural language interface for command line using Claude AI

Project description

Claude CLI

Natural language interface for command line using Claude AI

Installation

pip install claudecli

Usage

# Basic usage
claude "find all python files modified today"

# Skip confirmation
claude --no-confirm "list directory contents"

# Specify shell
claude --shell zsh "find large files"

# Debug mode
claude --debug "compress logs"

Features

  • Natural language command generation using Claude AI
  • Automatic shell detection (bash/zsh/fish)
  • Smart safety checks

Configuration

The CLI looks for the following environment variables:

  • ANTHROPIC_API_KEY: Your Anthropic API key (Required)
  • CLAUDE_CLI_DEBUG: Enable debug mode
  • CLAUDE_CLI_SHELL: Override shell detection

Project structure

.
├── LICENSE
├── README.md
├── claude_cli
│   ├── __init__.py
│   ├── cli.py
│   ├── core.py
│   └── logger.py
└── pyproject.toml

Contributing

Pull requests are definitely welcome!

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

claudecli-0.1.0rc3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

claudecli-0.1.0rc3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file claudecli-0.1.0rc3.tar.gz.

File metadata

  • Download URL: claudecli-0.1.0rc3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for claudecli-0.1.0rc3.tar.gz
Algorithm Hash digest
SHA256 346f7273470df6cfce798bc4b1847af0b1b22000248135805a6dde2272a9fc63
MD5 172450f397c35bd3616d8b26917a0815
BLAKE2b-256 4dbc7fcec8a1fcb7bcd7a90af25a275e489a2b4900ed83d515c990d5d53ac028

See more details on using hashes here.

Provenance

The following attestation bundles were made for claudecli-0.1.0rc3.tar.gz:

Publisher: python-publish.yml on ndamulelonemakh/claudecli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file claudecli-0.1.0rc3-py3-none-any.whl.

File metadata

  • Download URL: claudecli-0.1.0rc3-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for claudecli-0.1.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 ef58f6282d0fa65217270b4bf6cb6a9b7929f57f8b4ce5cba2848d6f92693060
MD5 8afed2f3b36e475b6a3667dd5d4e7723
BLAKE2b-256 bb53bff3e9480d1775e415ea766adfc6b5f2b55be73376b9199fa760f6dfe657

See more details on using hashes here.

Provenance

The following attestation bundles were made for claudecli-0.1.0rc3-py3-none-any.whl:

Publisher: python-publish.yml on ndamulelonemakh/claudecli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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