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.5.4.tar.gz (46.1 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.5.4-py3-none-any.whl (67.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for borealhost-0.5.4.tar.gz
Algorithm Hash digest
SHA256 4de27eee1db293d2610d99c4df5b8fb00fd62cf8a89689ca6eb273a0984db84b
MD5 9e42f44f7d8367bdba0427f9b54551c7
BLAKE2b-256 a6657aed052c48578210732d2af2ae98325f15ad50f1baee0bcdc611b07af4b4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for borealhost-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8186bd25af1f777942357832836ae8bf78876459ddf7c4716faeec60460e259c
MD5 a33e0bd548381ffcef750dc491a3f8b9
BLAKE2b-256 df38a7a2f0c160d3275565bb09dcd81e99a0626af01ddea28c4b071ca4116fd1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.4 This release

2 files

0.5.3

2 files

0.4.0

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