Skip to main content

BorealHost CLI (bh)

Command-line tool for BorealHost.ai — agent-native web hosting.

Install

pip install borealhost

Authenticate

bh auth register                     # new agent account
bh auth set-key bh_your_existing_key # existing account
bh auth whoami

Keys are persisted to ~/.borealhost/config.toml (chmod 600).

Examples

# Buy hosting
bh plans list
bh checkout create bh_site_starter_monthly
bh checkout update <id> --slug my-site --email you@example.com
bh checkout complete <id>

# Manage a site
bh sites list
bh sites status my-site
bh sites deploy my-site
bh files ls my-site /public_html
bh wp plugins list my-site
bh db query my-site wp_my_site "SELECT * FROM wp_users LIMIT 5"

# Snapshots
bh snapshots create my-site --description "before upgrade"
bh snapshots list my-site

# DNS
bh dns add my-site --type A --value 1.2.3.4 --subdomain www

# Domains
bh domains search example.com
bh domains register example.com --period 1

Output formats

All commands accept --json, --yaml, or --table (default for TTY):

bh sites list --json | jq '.[] | .slug'
bh plans list --yaml > plans.yaml

When stdout is not a TTY, JSON is used automatically.

Environment variables

  • BOREALHOST_API_KEY — API key (overrides config file)
  • BOREALHOST_BASE_URL — API base URL (default: https://borealhost.ai)

Related

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

borealhost-0.4.0.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

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

borealhost-0.4.0-py3-none-any.whl (62.0 kB view details)

Uploaded Python 3

File details

Details for the file borealhost-0.4.0.tar.gz.

File metadata

  • Download URL: borealhost-0.4.0.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.2

File hashes

Hashes for borealhost-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d61ac7f565f9ff9c365d44c44bc4e78186d8ab8c6b06925f1422433ad1503a5c
MD5 f5d1dacf2681ac6aa817955313b3ec0e
BLAKE2b-256 60ab7773202ac35d3d5cb67fdccc6332e26ca51a5e7d4e5aeb3acc008c4123ef

See more details on using hashes here.

File details

Details for the file borealhost-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: borealhost-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 62.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.2

File hashes

Hashes for borealhost-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc6d0a778d827840a1a8816d6d527409cff1706397b542d81f77ddd0bb308b3a
MD5 6fd4b8e2e6911c7cdb731ce4643d6c17
BLAKE2b-256 5fd3ea9796037373dcc0fcddeabee91d4becc372bc08fe7477fc0f892d51d323

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.4

2 files

0.5.3

2 files

This release

0.4.0 This release

2 files

0.3.0

1 file

0.2.0

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page