Add generate folders documentation

This commit is contained in:
Jan Christian Grünhage 2017-04-26 00:03:19 +02:00
parent f040dc78c9
commit 08535bea6f
Signed by: jcgruenhage
GPG Key ID: 321A67D9EE8BC3E1
1 changed files with 10 additions and 0 deletions

View File

@ -23,5 +23,15 @@ borgocli generate authorized_keys path/to/hosts.json >> ~/.ssh/authorized_keys
If you want to overwrite your existing authorized_keys file, replace >> with >. For an example of the json file, see [example.json](https://git.jcg.re/jcgruenhage/borgocli/src/master/generate/authorized_keys/example.json).
### borgocli generate folders
This creates the folders that are used by the authorized_keys file generated with the command above. It takes the same json file as above.
**Usage**:
```
borgocli generate folder path/to/hosts.json
```
This is everything for now, but I hope to extend that later. This might get some functionality only useful to my docker images, since that is what I am writing this for.