Skip to main content

AIRA CLI for managing a home server and the AIRA AI Platform

Project description

AIRA CLI

AIRA CLI is a command-line interface for managing a home server and the AIRA AI Platform. It provides a set of commands to manage system resources, Docker containers, network settings, storage, configurations, and setup.

Installation

To install the AIRA CLI, run:

pip install aira_cli

Usage

System Commands

  • aira system info: Display system information.
  • aira system status: Check system status.
  • aira system update check: Check for system updates.
  • aira system update apply: Apply system updates.
  • aira system update history: View update history.
  • aira system reboot: Reboot the system.
  • aira system shutdown: Shutdown the system.
  • aira system healthcheck: Perform system health check.
  • aira system disk: Check disk usage.

Docker Commands

  • aira docker ps: List running containers.
  • aira docker images: List Docker images.
  • aira docker logs <container>: View container logs.
  • aira docker start <container>: Start a container.
  • aira docker stop <container>: Stop a container.
  • aira docker restart <container>: Restart a container.
  • aira docker compose up: Start or rebuild and start services.
  • aira docker compose down: Stop and remove services.
  • aira docker compose build: Build or rebuild services.
  • aira docker compose ps: List services.
  • aira docker cleanup: Remove unused Docker resources.

Network Commands

  • aira network status: Display network status.
  • aira network firewall list: List firewall rules.
  • aira network firewall allow <port>: Allow incoming traffic.
  • aira network firewall deny <port>: Deny incoming traffic.
  • aira network firewall block <ip_address>: Block traffic from an IP address.
  • aira network firewall unblock <ip_address>: Unblock traffic from an IP address.
  • aira network firewall reset: Reset firewall rules.
  • aira network dns add-host <hostname> <ip_address>: Add a host entry.
  • aira network dns remove-host <hostname>: Remove a host entry.
  • aira network dns show-hosts: Show host entries.
  • aira network dns configure-resolver <nameservers>: Configure DNS resolver.

Storage Commands

  • aira storage usage: Show disk space usage.
  • aira storage logs show-sizes: Show log sizes.
  • aira storage logs clean: Clean old logs.
  • aira storage backup create: Create a backup.
  • aira storage backup list: List backups.
  • aira storage backup restore <backup_name>: Restore from a backup.

Config Commands

  • aira config set <key> <value>: Set a configuration value.
  • aira config get <key>: Get a configuration value.
  • aira config defaults: Apply default configurations.

Setup Commands

  • aira setup pre-check: Run pre-checks.
  • aira setup apply-deps: Install dependencies.
  • aira setup install-aira: Install AIRA.

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

aira_cli-0.1.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

aira_cli-0.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file aira_cli-0.1.0.tar.gz.

File metadata

  • Download URL: aira_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for aira_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 96749973386bdcab47f75d57a024f6b4ef2282ab4ce0f52972cf94dee06fd760
MD5 5b02bd523913a3e78b3e341e9b2b3f80
BLAKE2b-256 f0047ee421a056b614779e2673b67739fc4449373ef762cd5c14cc88eecdc58d

See more details on using hashes here.

File details

Details for the file aira_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aira_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for aira_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5a653fcc280e4eb987e711fd46b4f8dc824f08f5c77556f16b5fa2a8260268d
MD5 b8f3f5856332b1f8c2626d9efcd05f0a
BLAKE2b-256 c1d74a621319f81e5455dd359b8ae648b1c40288ddc42fce60da71b1b55cbb98

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