mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-22 11:46:40 +00:00
[docs] Add --config-path to example CLI commands where needed. (#843)
Previously we had a few examples referring to --config-file (which is not accepted) but most were missing it altogether. Put this argument last in all the examples. Also replaced "./example.json" with just "example.json" in the import/export examples because the "./" was unnecessary.
This commit is contained in:
parent
de26924a4a
commit
8c20626c51
|
@ -62,7 +62,8 @@ Example:
|
||||||
gotosocial admin account create \
|
gotosocial admin account create \
|
||||||
--username some_username \
|
--username some_username \
|
||||||
--email someuser@example.org \
|
--email someuser@example.org \
|
||||||
--password 'somelongandcomplicatedpassword'
|
--password 'somelongandcomplicatedpassword' \
|
||||||
|
--config-path config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
### gotosocial admin account confirm
|
### gotosocial admin account confirm
|
||||||
|
@ -85,7 +86,7 @@ Flags:
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gotosocial admin account confirm --username some_username
|
gotosocial admin account confirm --username some_username --config-path config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
### gotosocial admin account promote
|
### gotosocial admin account promote
|
||||||
|
@ -108,7 +109,7 @@ Flags:
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gotosocial admin account promote --username some_username
|
gotosocial admin account promote --username some_username --config-path config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
### gotosocial admin account demote
|
### gotosocial admin account demote
|
||||||
|
@ -131,7 +132,7 @@ Flags:
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gotosocial admin account demote --username some_username
|
gotosocial admin account demote --username some_username --config-path config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
### gotosocial admin account disable
|
### gotosocial admin account disable
|
||||||
|
@ -154,7 +155,7 @@ Flags:
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gotosocial admin account disable --username some_username
|
gotosocial admin account disable --username some_username --config-path config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
### gotosocial admin account suspend
|
### gotosocial admin account suspend
|
||||||
|
@ -179,7 +180,7 @@ Flags:
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gotosocial admin account suspend --username some_username
|
gotosocial admin account suspend --username some_username --config-path config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
### gotosocial admin account password
|
### gotosocial admin account password
|
||||||
|
@ -203,7 +204,7 @@ Flags:
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gotosocial admin account password --username some_username --pasword some_really_good_password
|
gotosocial admin account password --username some_username --pasword some_really_good_password --config-path config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
### gotosocial admin export
|
### gotosocial admin export
|
||||||
|
@ -228,7 +229,7 @@ Flags:
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gotosocial admin export --config-file ./config.yaml --path ./example.json
|
gotosocial admin export --path example.json --config-path config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
`example.json`:
|
`example.json`:
|
||||||
|
@ -276,5 +277,5 @@ Flags:
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gotosocial admin import --config-file ./config.yaml --path ./example.json
|
gotosocial admin import --path example.json --config-path config.yaml
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue