Skip to main content

Unified CLI for managing all Aitronos services

Project description

Aitronos CLI

Unified command-line interface for managing all Aitronos services, including Streamline automations, AI assistants, and more.

Installation

Via pip (Recommended for Python developers)

pip install aitronos-cli

Via Homebrew (Recommended for macOS/Linux)

# Add the Aitronos tap
brew tap aitronos/tap

# Install the CLI
brew install aitronos-cli

Verify Installation

aitronos --version

Quick Start

1. Authentication

Login to your Aitronos account:

aitronos auth login

2. Streamline Automations

Initialize a new Streamline project:

aitronos streamline init

Upload an automation:

aitronos streamline upload

Link a GitHub repository:

aitronos streamline link-repo

Execute an automation:

aitronos streamline execute <automation-id>

3. View Logs

aitronos streamline logs <automation-id>

Features

  • Authentication: Secure login with email verification
  • Streamline Automations: Create, upload, and manage automations
  • GitHub Integration: Link repositories for automatic syncing
  • Execution Management: Run automations and view real-time logs
  • Template Support: Initialize projects from templates
  • Interactive Menus: User-friendly navigation with arrow keys

Commands

Authentication

  • aitronos auth login - Login to your account
  • aitronos auth logout - Logout from your account
  • aitronos auth status - Check authentication status

Streamline

  • aitronos streamline init - Initialize a new project/repository
  • aitronos streamline upload - Upload automation manually
  • aitronos streamline link-repo - Link GitHub repository
  • aitronos streamline list - List all automations
  • aitronos streamline execute <id> - Execute an automation
  • aitronos streamline logs <id> - View execution logs
  • aitronos streamline sync <id> - Sync automation from GitHub
  • aitronos streamline delete <id> - Delete an automation
  • aitronos streamline schedule <id> - Set execution schedule
  • aitronos streamline remove-schedule <id> - Remove schedule

Configuration

The CLI stores configuration in ~/.aitronos/:

  • config.yaml - General configuration
  • auth.json - Authentication tokens (never share this file)

Development

Setup Development Environment

# Clone repository
git clone https://github.com/Aitronos-Development/aitronos.cli.git
cd aitronos.cli

# Install with development dependencies
pip install -e ".[dev]"

# Run tests
pytest tests/

# Run compliance checks
./start-compliance.sh

Running Tests

# Run all tests
pytest tests/

# Run with coverage
pytest tests/ --cov=aitronos_cli --cov-report=term

# Run specific test file
pytest tests/test_auth.py

Code Quality

The project uses strict compliance checks:

# Run all compliance checks
./start-compliance.sh

# Run specific checks
uvx ruff check .              # Linting
uvx ruff format --check .     # Format check
uvx bandit -r aitronos_cli/   # Security scan
pytest tests/ --cov           # Tests with coverage

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feat/amazing-feature)
  3. Make your changes
  4. Run tests and compliance checks
  5. Commit your changes (git commit -m 'feat: add amazing feature')
  6. Push to the branch (git push origin feat/amazing-feature)
  7. Open a Pull Request

Branch Naming Conventions

  • feat/ - New features
  • fix/ - Bug fixes
  • docs/ - Documentation updates
  • refactor/ - Code refactoring
  • test/ - Test additions/improvements

Documentation

Support

License

MIT License - see LICENSE for details

Changelog

See CHANGELOG.md for version history and changes.

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

aitronos_cli-0.1.1.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

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

aitronos_cli-0.1.1-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file aitronos_cli-0.1.1.tar.gz.

File metadata

  • Download URL: aitronos_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aitronos_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2ea2092c02f66872bcde308cd9500fbe18b86a226fd057eff23995c816f77244
MD5 83047267623c9130bd202430eb5b722f
BLAKE2b-256 841d95a743708f6bd22149cd9e3419f8e8b8d0e0c9d67270a5e671c6d89e705d

See more details on using hashes here.

Provenance

The following attestation bundles were made for aitronos_cli-0.1.1.tar.gz:

Publisher: deploy-pypi.yml on Aitronos-Development/aitronos.cli

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

File details

Details for the file aitronos_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aitronos_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aitronos_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbfc28f69eb5ff54ed1c7473630af2b94c5678cb2139fa586c0748ba30db3e47
MD5 ccc17834fc9dc5d243d4456704476807
BLAKE2b-256 d8468e9c5c680e357a690192af0f9810d50cd0a5d8dc478d7882a57803bfc162

See more details on using hashes here.

Provenance

The following attestation bundles were made for aitronos_cli-0.1.1-py3-none-any.whl:

Publisher: deploy-pypi.yml on Aitronos-Development/aitronos.cli

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