An opinionated command line interface to OVHcloud Web Hosting. The goal is to provide a similar experience to Netlify or Vercel cli to deploy static (or PHP) websites.
- It requires at least a Pro plan (for SSH access).
- The underlying file system is made invisible: deploying a website with a domain www.example.com will upload the content to a www.example.com folder. This is by design and it can't be overridden.
Usage: owh [--version] [--help] <command> [<args>]
Deploy websites to OVHcloud Web Hosting.
Available commands are:
deploy Deploy websites from a directory
domains Handle various domain operations
hostings List all your hostings
info Show info about the linked website
link Link current directory to an existing website on OVHcloud
login Login to your OVHcloud account
logs View access logs
open Open browser to current deployed website
remove Remove websites (files & attached domains)
tasks List tasks
tool Group useful extra-commands
users Manage users
whoami Show info about the user currently logged in
Requirements:
- go version > 1.19+
- docker
Run the app
go run main.go
Run the tests
go test ./...
Force go test
to run all the tests (by disabling caching)
./scrits/test.sh