From 6bec0eda696dcb032c0adb612f35bf0af552f13c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Wed, 24 Nov 2021 19:42:33 +0100 Subject: [PATCH] docs: Fix repos command --- docs/src/repos.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/repos.md b/docs/src/repos.md index 840e448..32d6ccb 100644 --- a/docs/src/repos.md +++ b/docs/src/repos.md @@ -17,7 +17,7 @@ Then, you're ready to run the first sync. This will clone all configured reposit and set up the remotes. ```bash -$ grm repo sync --config example.config.toml +$ grm repos sync --config example.config.toml [⚙] Cloning into "/home/me/projects/git-repo-manager" from "https://code.hkoerber.de/hannes/git-repo-manager.git" [✔] git-repo-manager: Repository successfully cloned [⚙] git-repo-manager: Setting up new remote "github" to "https://github.com/hakoerber/git-repo-manager.git" @@ -30,7 +30,7 @@ $ grm repo sync --config example.config.toml If you run it again, it will report no changes: ``` -$ grm repo sync --config example.config.toml +$ grm repos sync --config example.config.toml [✔] git-repo-manager: OK [✔] dotfiles: OK ``` @@ -42,7 +42,7 @@ a configuration from scratch. Luckily, GRM has a way to generate a configuration from an existing file tree: ```bash -$ grm repo find ~/your/project/root > config.toml +$ grm repos find ~/your/project/root > config.toml ``` This will detect all repositories and remotes and write them to `config.toml`. @@ -50,7 +50,7 @@ This will detect all repositories and remotes and write them to `config.toml`. ### Show the state of your projects ```bash -$ grm repo status --config example.config.toml +$ grm repos status --config example.config.toml ╭──────────────────┬──────────┬────────┬───────────────────┬────────┬─────────╮ │ Repo ┆ Worktree ┆ Status ┆ Branches ┆ HEAD ┆ Remotes │ ╞══════════════════╪══════════╪════════╪═══════════════════╪════════╪═════════╡ @@ -66,7 +66,7 @@ in: ``` $ cd ~/example-projects/dotfiles -$ grm repo status +$ grm repos status ╭──────────┬──────────┬────────┬──────────┬───────┬─────────╮ │ Repo ┆ Worktree ┆ Status ┆ Branches ┆ HEAD ┆ Remotes │ ╞══════════╪══════════╪════════╪══════════╪═══════╪═════════╡