1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00

added config-path arg to cli commands to make it work properly

This commit is contained in:
OniriCorpe 2022-05-14 20:34:09 +02:00
parent c3678fd7a2
commit d017ac0fa2
4 changed files with 12 additions and 12 deletions

View file

@ -97,15 +97,15 @@ Feel free to refer to the [GoToSocial command line documentation](https://docs.g
To create a new user, proceed as follows: To create a new user, proceed as follows:
``` bash ``` bash
./gotosocial admin account create --username some_username --email someuser@example.org --password 'somelongandcomplicatedpassword' ./gotosocial --config-path config.yaml admin account create --username some_username --email someuser@example.org --password 'SomeLongAndComplicatedPassword'
./gotosocial admin account confirm --username some_username ./gotosocial --config-path config.yaml admin account confirm --username some_username
``` ```
And to promote them as an administrator of your instance: And to promote them as an administrator of your instance:
``` bash ``` bash
./gotosocial admin account promote --username some_username ./gotosocial --config-path config.yaml admin account promote --username some_username
``` ```
## Documentation and resources ## Documentation and resources

View file

@ -93,15 +93,15 @@ N'hésitez pas à vous référer à la [documentation de la ligne de commande de
Pour créer un nouveau compte utilisateur, procédez comme suit : Pour créer un nouveau compte utilisateur, procédez comme suit :
``` bash ``` bash
./gotosocial admin account create --username nom_dutilisateur --email utilisateur@example.org --password 'UnMotDePasseTrèsComplexe' ./gotosocial --config-path config.yaml admin account create --username nom_dutilisateur --email utilisateur@example.org --password 'UnMotDePasseTrèsComplexe'
./gotosocial admin account confirm --username nom_dutilisateur ./gotosocial --config-path config.yaml admin account confirm --username nom_dutilisateur
``` ```
Et pour promouvoir un compte en tant qu'administrateur de votre instance : Et pour promouvoir un compte en tant qu'administrateur de votre instance :
``` bash ``` bash
./gotosocial admin account promote --username nom_dutilisateur ./gotosocial --config-path config.yaml admin account promote --username nom_dutilisateur
``` ```
## Documentations et ressources ## Documentations et ressources

View file

@ -61,13 +61,13 @@ Feel free to refer to the [GoToSocial command line documentation](https://docs.g
To create a new user, proceed as follows: To create a new user, proceed as follows:
``` bash ``` bash
./gotosocial admin account create --username some_username --email someuser@example.org --password 'somelongandcomplicatedpassword' ./gotosocial --config-path config.yaml admin account create --username some_username --email someuser@example.org --password 'SomeLongAndComplicatedPassword'
./gotosocial admin account confirm --username some_username ./gotosocial --config-path config.yaml admin account confirm --username some_username
``` ```
And to promote them as an administrator of your instance: And to promote them as an administrator of your instance:
``` bash ``` bash
./gotosocial admin account promote --username some_username ./gotosocial --config-path config.yaml admin account promote --username some_username
``` ```

View file

@ -61,13 +61,13 @@ N'hésitez pas à vous référer à la [documentation de la ligne de commande de
Pour créer un nouveau compte utilisateur, procédez comme suit : Pour créer un nouveau compte utilisateur, procédez comme suit :
``` bash ``` bash
./gotosocial admin account create --username nom_dutilisateur --email utilisateur@example.org --password 'UnMotDePasseTrèsComplexe' ./gotosocial --config-path config.yaml admin account create --username nom_dutilisateur --email utilisateur@example.org --password 'UnMotDePasseTrèsComplexe'
./gotosocial admin account confirm --username nom_dutilisateur ./gotosocial --config-path config.yaml admin account confirm --username nom_dutilisateur
``` ```
Et pour promouvoir un compte en tant qu'administrateur de votre instance : Et pour promouvoir un compte en tant qu'administrateur de votre instance :
``` bash ``` bash
./gotosocial admin account promote --username nom_dutilisateur ./gotosocial --config-path config.yaml admin account promote --username nom_dutilisateur
``` ```