Skip to content

Akula452/akula-python-cli

Repository files navigation

Akula Python CLI

A cross-platform command-line interface tool built with Python that works seamlessly on both Windows and Linux operating systems.

Features

  • ✅ Cross-platform compatibility (Windows & Linux)
  • ✅ Easy to install and use
  • ✅ Multiple useful commands
  • ✅ System information display
  • ✅ Built with Click for excellent CLI experience

Requirements

  • Python 3.7 or higher
  • pip (Python package installer)

Installation

Prerequisites

Before installation, ensure you have:

  • Python 3.7 or higher
  • pip (Python package installer)

Method 1: Quick Install (Recommended)

This method automatically handles all build dependencies:

git clone https://github.com/Akula452/akula-python-cli.git
cd akula-python-cli
pip install -e .

Method 2: Install with requirements file

git clone https://github.com/Akula452/akula-python-cli.git
cd akula-python-cli
pip install -r requirements.txt
pip install -e .

Method 3: Using setup.py directly (for advanced users)

Note: This method is only needed for specific build scenarios. Most users should use Method 1 instead.

If you need to use setup.py directly and encounter import errors:

pip install --upgrade setuptools
python setup.py develop

Verification

After installation, verify that the CLI is installed correctly:

akula --version

Usage

Available Commands

1. Hello Command

Greet someone with a friendly message:

akula hello
akula hello --name "Your Name"

2. Version Command

Display version and system information:

akula version

3. System Info Command

Display detailed system information:

akula sysinfo

4. Echo Command

Echo back any text you provide:

akula echo "Hello from Akula CLI!"

5. Help

Get help on available commands:

akula --help
akula hello --help

Platform-Specific Instructions

Linux

On Linux, you might need to use pip3 instead of pip:

pip3 install -e .

If you get permission errors, you can install in user mode:

pip install --user -e .

Windows

On Windows, make sure Python and pip are added to your PATH. You can then run:

pip install -e .

If you're using PowerShell and encounter execution policy errors, you may need to run:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Development

Project Structure

akula-python-cli/
├── akula_cli/
│   ├── __init__.py      # Package initialization and version
│   └── cli.py           # Main CLI implementation
├── setup.py             # Setup script for installation
├── pyproject.toml       # Modern Python project configuration
├── requirements.txt     # Package dependencies
├── .gitignore          # Git ignore rules
└── README.md           # This file

Running without installation

You can also run the CLI directly without installation:

python -m akula_cli.cli --help
python -m akula_cli.cli hello

Uninstallation

To uninstall the CLI:

pip uninstall akula-cli

License

MIT License

Contributing

Contributions are welcome! Feel free to submit issues or pull requests.

Author

Akula452

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors