ungleich-cli/README.md

53 lines
900 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-06-07 11:37:42 +00:00
* ensure you have **python3** and **pipenv**
2019-05-12 10:31:51 +00:00
* git clone this repo
2019-06-06 10:37:39 +00:00
* cd into this repo
* run the following command
```
2019-06-07 11:37:42 +00:00
pipenv install
pipenv shell
2019-06-06 10:37:39 +00:00
```
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>
```