Skip to content

Latest commit

 

History

History
79 lines (55 loc) · 2.31 KB

File metadata and controls

79 lines (55 loc) · 2.31 KB

SAI - Software Action Interface

Lightweight CLI tool for executing software management actions using provider-based configurations.

Quick Start

pip install sai

Features

  • Provider-based Actions: Execute install, configure, start, stop, and other actions
  • Multi-platform Support: Works across Linux, macOS, and Windows
  • Schema 0.3 Support: Multiple installation methods (packages, sources, binaries, scripts)
  • Enhanced Template Functions: Field-level access to saidata with sai_package(), sai_source(), sai_binary(), sai_script()
  • Extensible Providers: Support for package managers, containers, and custom providers
  • Configuration Management: Flexible YAML/JSON configuration system
  • Dry-run Mode: Preview actions before execution

Basic Usage

# Install software
sai install nginx

# Configure software
sai configure postgresql --config prod.yaml

# List installed software
sai list installed

# Execute actions from a configuration file
sai apply --config infrastructure.yaml

When to Use SAI

Use SAI when you need to:

  • Deploy software using existing saidata
  • Execute software management in production environments
  • Run automated deployments in CI/CD pipelines
  • Manage software lifecycle across multiple systems

Installation Options

# Lightweight installation (execution only)
pip install sai

# With generation support (includes saigen)
pip install sai[generation]

# Development installation
pip install sai[dev]

Documentation

Related Tools

Links

License

MIT License - see LICENSE for details.