CLI & SDK
Appliku provides a Python CLI and SDK for managing your infrastructure from the command line. Automate deployments, manage applications, query logs, and integrate Appliku into your scripts and CI/CD pipelines.
Installation
Install the Appliku CLI and SDK from PyPI:
pip install appliku
Verify the installation:
appliku --help
For isolated environments, use pipx to install the CLI globally without affecting your project dependencies:
pipx install appliku
Authentication
Interactive Login
appliku auth login
This opens a browser-based authentication flow and stores your API token locally at ~/.config/appliku/config.toml.
Environment Variable
Set the APPLIKU_TOKEN environment variable for non-interactive use (CI/CD, scripts):
export APPLIKU_TOKEN=your_api_token_here
Token Resolution Order
The CLI resolves authentication tokens in this order:
- Explicit token passed as a parameter
APPLIKU_TOKENenvironment variable- Token stored in
~/.config/appliku/config.toml
Basic Commands
# List your teams
appliku teams list
# List applications
appliku apps list
# Deploy an application
appliku deploy
# View application logs
appliku logs
# Get help for any command
appliku <command> --help
Python SDK
The same package provides a Python SDK for programmatic access:
from appliku import Appliku
client = Appliku(token="your_api_token")
# List applications
apps = client.apps.list(team_path="my-team")
for app in apps:
print(app.name)
Links
Full CLI and SDK documentation is coming soon. In the meantime, use appliku --help and appliku <command> --help to explore available commands and options.