CLI Reference¶
All resource commands follow the pattern:
Most list commands support JSON output:
Use --help on any command for full option details:
Authentication commands¶
These root-level commands manage your local session.
appliku login # Start browser-based login
appliku login --token YOUR_TOKEN # Log in with an API token directly
appliku whoami # Show the authenticated user
appliku logout # Remove the saved token
teams¶
List and inspect your Appliku teams.
# List all teams you belong to
appliku teams list
# Get details for a specific team
appliku teams get my-team
apps¶
Manage applications and fetch their logs.
Application logs¶
There are two distinct log commands:
apps logs — fetches application-level logs using an async two-step flow. Use this to get logs across one or more processes:
# Fetch logs for the web process
appliku apps logs --team my-team --app 42 --process web
# Fetch logs for multiple processes
appliku apps logs --team my-team --app 42 --process web --process celery
# Limit output to the last N lines
appliku apps logs --team my-team --app 42 --process web --tail 200
apps service-logs — fetches service logs directly in a single request. Faster, but limited to one process at a time:
Nginx and load balancer logs¶
# Fetch nginx access logs for a domain
appliku apps nginx-logs --team my-team --app 42 --domain example.com --tail 100
# Fetch load balancer logs for a domain
appliku apps load-balancer-logs --team my-team --app 42 --domain example.com --tail 100
deployments¶
Inspect deployments and their build logs.
# List all deployments for an app
appliku deployments list --team my-team --app 42
# Show only the latest deployment
appliku deployments latest --team my-team --app 42
# Fetch logs for a specific deployment
appliku deployments logs --team my-team --id 1234
domains¶
Manage custom domains attached to an application.
# List domains
appliku domains list --team my-team --app 42
# Add a domain
appliku domains create --team my-team --app 42 --domain example.com
# Remove a domain
appliku domains delete --team my-team --app 42 --id 7
# Verify DNS configuration for a domain
appliku domains check-dns --team my-team --app 42 --domain example.com
datastores¶
Manage attached datastores (PostgreSQL, MySQL, Redis, etc.).
appliku datastores list --team my-team --app 42
appliku datastores start --team my-team --app 42 --id 5
appliku datastores stop --team my-team --app 42 --id 5
appliku datastores restart --team my-team --app 42 --id 5
appliku datastores delete --team my-team --app 42 --id 5
volumes¶
Manage persistent volumes attached to an application.
crons¶
Manage cron jobs for an application.
clusters¶
Manage Docker Swarm clusters.
servers¶
Inspect servers attached to your team.
invites¶
Manage pending team invitations.
migrations¶
Manage and inspect database migrations.
ssh-keys¶
Manage the SSH public keys associated with your account. These keys are used for server access.
# List your SSH public keys
appliku ssh-keys list
# Add a new SSH public key
appliku ssh-keys add --key "ssh-rsa AAAA... user@host"
# Add your existing public key from a file
appliku ssh-keys add --key "$(cat ~/.ssh/id_ed25519.pub)"
# Remove an SSH public key by ID
appliku ssh-keys delete --id 12
Generating an SSH key pair¶
If you don't have a key yet, generate one with:
This creates two files: ~/.ssh/id_ed25519 (private key — keep this safe) and ~/.ssh/id_ed25519.pub (public key). Then add the public key to Appliku: