ungleich-cli/README.md

58 lines
988 B
Markdown
Raw Normal View History

2019-05-12 10:31:51 +00:00
# ungleich cli
2019-04-27 04:56:57 +00:00
2019-05-12 10:31:51 +00:00
This CLI is used for day-to-day tasks used at ungleich.
It is intended to be used by ungleich engineers and skilled customers.
2019-04-27 04:56:57 +00:00
2019-05-12 10:31:51 +00:00
## Requirements / Installation
2019-05-12 10:31:51 +00:00
* ensure you have python3
* git clone this repo
2019-06-06 10:37:39 +00:00
* cd into this repo
* run the following command
```
sudo pip3 install -r requirements.txt
```
2019-05-12 10:42:28 +00:00
## Usage general
2019-04-27 04:56:57 +00:00
```
2019-05-12 10:42:28 +00:00
ungleich --help
```
2019-06-06 10:37:39 +00:00
## Usage: Weather
```
ungleich weather
```
2019-04-27 04:56:57 +00:00
2019-05-12 10:42:28 +00:00
## Usage: DNS
```
2019-05-15 22:49:22 +00:00
ungleich dns --set-reverse <ip> --user <username> --token <token> --realm <realm> --email <email> --name mirror.example.com
2019-05-12 09:25:50 +00:00
```
### Usage: RIPE
Creating a new route6 object:
```
2019-05-12 10:42:28 +00:00
ungleich ripe-add-route6 \
2019-05-12 09:25:50 +00:00
--network 2a09:2947::/32
--description "First REST /32"
--password "very secure"
```
2019-05-30 09:26:12 +00:00
### Usage: Account
Creating a new account object:
```
ungleich account --create-user <username> --name <firstname> --lastname <lastname> --email <email>
```
2019-06-08 17:18:37 +00:00
### Usage: SSH Key
```
ungleich sshkey --key raul.ascencio --host dev.raul.ungleich.cloud
```