summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2020-01-20 01:50:12 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-01-20 01:50:12 +0900
commit10f237be95cf7287a54e349e5c53b9477fc12b96 (patch)
tree5e0f86969cbe5e8518949e0d09922217d354cd4c /docs
parentFix: PagesでDRPWPMが最初のしか出てこない (#5707) (diff)
downloadsharkey-10f237be95cf7287a54e349e5c53b9477fc12b96.tar.gz
sharkey-10f237be95cf7287a54e349e5c53b9477fc12b96.tar.bz2
sharkey-10f237be95cf7287a54e349e5c53b9477fc12b96.zip
Add mark-admin command (#5705)
* mark-admin command * no cli
Diffstat (limited to 'docs')
-rw-r--r--docs/docker.en.md2
-rw-r--r--docs/docker.fr.md2
-rw-r--r--docs/docker.ja.md2
-rw-r--r--docs/manage.en.md8
-rw-r--r--docs/manage.fr.md8
-rw-r--r--docs/manage.ja.md8
6 files changed, 9 insertions, 21 deletions
diff --git a/docs/docker.en.md b/docs/docker.en.md
index a1ddecf62b..8920feb60b 100644
--- a/docs/docker.en.md
+++ b/docs/docker.en.md
@@ -88,7 +88,7 @@ Just `docker-compose up -d`. GLHF!
7. `docker-compose stop && docker-compose up -d`
### How to execute [cli commands](manage.en.md):
-`docker-compose run --rm web node cli/mark-admin @example`
+`docker-compose run --rm web node built/tools/mark-admin @example`
----------------------------------------------------------------
diff --git a/docs/docker.fr.md b/docs/docker.fr.md
index c43ab4f650..d2795a5908 100644
--- a/docs/docker.fr.md
+++ b/docs/docker.fr.md
@@ -55,7 +55,7 @@ Utilisez la commande `docker-compose up -d`. GLHF!
7. `docker-compose stop && docker-compose up -d`
### Comment exécuter des [commandes](manage.fr.md)
-`docker-compose run --rm web node cli/mark-admin @example`
+`docker-compose run --rm web node built/tools/mark-admin @example`
### Configuration d'ElasticSearch (pour la fonction de recherche)
*1.* Préparation de l'environnement
diff --git a/docs/docker.ja.md b/docs/docker.ja.md
index cc26caadf4..2e2abfbed7 100644
--- a/docs/docker.ja.md
+++ b/docs/docker.ja.md
@@ -89,7 +89,7 @@ docker-compose run --rm web yarn run init
### cliコマンドを実行する方法:
-`docker-compose run --rm web node cli/mark-admin @example`
+`docker-compose run --rm web node built/tools/mark-admin @example`
----------------------------------------------------------------
diff --git a/docs/manage.en.md b/docs/manage.en.md
index 85c965a166..d310e9531f 100644
--- a/docs/manage.en.md
+++ b/docs/manage.en.md
@@ -5,14 +5,10 @@ coming soon
## Mark as 'admin' user
``` shell
-node cli/mark-admin (User-ID or Username)
+node built/tools/mark-admin (Username)
```
e.g.
``` shell
-# By id
-node cli/mark-admin 57d01a501fdf2d07be417afe
-
-# By username
-node cli/suspend @syuilo
+node built/tools/mark-admin @syuilo
```
diff --git a/docs/manage.fr.md b/docs/manage.fr.md
index bf38e5ed97..0b2b7ffc16 100644
--- a/docs/manage.fr.md
+++ b/docs/manage.fr.md
@@ -5,14 +5,10 @@ coming soon
## Marquer un utilisateur en tant que 'admin'
``` shell
-node cli/mark-admin (ID utilisateur ou nom d'utilisateur)
+node built/tools/mark-admin (nom d'utilisateur)
```
Exemple :
``` shell
-# Par id
-node cli/mark-admin 57d01a501fdf2d07be417afe
-
-# Par nom d'utilisateur
-node cli/suspend @syuilo
+node built/tools/mark-admin @syuilo
```
diff --git a/docs/manage.ja.md b/docs/manage.ja.md
index 4a9a3e261f..55596add10 100644
--- a/docs/manage.ja.md
+++ b/docs/manage.ja.md
@@ -5,14 +5,10 @@ coming soon
## 管理者ユーザーを設定する
``` shell
-node cli/mark-admin (ユーザーID または ユーザー名)
+node built/tools/mark-admin (ユーザー名)
```
例:
``` shell
-# ユーザーID
-node cli/mark-admin 57d01a501fdf2d07be417afe
-
-# ユーザー名
-node cli/mark-admin @syuilo
+node built/tools/mark-admin @syuilo
```