Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mlcdf/owh
Command line interface to OVHcloud Web Hosting
https://github.com/mlcdf/owh
cli ovh ovhcloud
Last synced: 18 days ago
JSON representation
Command line interface to OVHcloud Web Hosting
- Host: GitHub
- URL: https://github.com/mlcdf/owh
- Owner: mlcdf
- License: mit
- Created: 2022-10-29T14:37:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T17:34:07.000Z (7 months ago)
- Last Synced: 2024-10-12T05:29:47.546Z (about 1 month ago)
- Topics: cli, ovh, ovhcloud
- Language: Go
- Homepage:
- Size: 3.18 MB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# owh
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.## Things you should note
- 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
```
Usage: owh [--version] [--help] []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
```## Development
Requirements:
- go version > 1.19+
- dockerRun the app
```sh
go run main.go
```Run the tests
```sh
go test ./...
```Force `go test` to run all the tests (by disabling caching)
```sh
./scrits/test.sh
```## License
[MIT](https://choosealicense.com/licenses/mit/)