haio-cli v1.0.11
Haio CLI
Introduction
Using $ Haio CLI
, you will be able to $ create
cloud,$ manage
it, and pretty anything else a user can do in Haio panel and even more with in this CLI
Code Samples
Login
First, login by typing: $ Haio login
and fill the following fields
? enter your email :
next:
? enter your password :
DONE, you can now use the CLI
Create Cloud
To create a cloud, type $ Haio vira add
and choose what type of Cloud do you need
? Choose a cloud type (Use arrow keys)
❯ LXC
QEMU
And then you will be asked if you need it to be app or not
? do you want it to be an app ? (Y/n)
Choose your OS / app
in the next section
? choose your OS (Use arrow keys)
❯ 1,Ubuntu,16.04
1,Ubuntu,18.04
1,Ubuntu,20.04
2,CentOS,7
2,CentOS,8
3,Debian,9
3,Debian,10
(Move up and down to reveal more choices)
After all these, you need to enter some necessary information to create a cloud, such as title
and hostname
, etc...
note
normally it will come with a random password
for login, which will be sent to the phone number of the account you just logged in with.
List
To enlist you existing clouds simply type
Haio vira list
Installation
first of install Install node.js LTS v14 or later versions
then run :
npm install -g haio-cli
You can use CLI now.