aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-27 03:59:17 +0000
committerFuwn <[email protected]>2026-01-27 03:59:17 +0000
commitdf43979a05352cec3f0c7f3f41acbdc1e6054d80 (patch)
treec4e3a0735db7256b14780fac4bb6dfd5a9c37d6f
parentfeat: Add repository management commands (diff)
downloadmugi-df43979a05352cec3f0c7f3f41acbdc1e6054d80.tar.xz
mugi-df43979a05352cec3f0c7f3f41acbdc1e6054d80.zip
docs(README): Update command help sectionHEADmain
-rw-r--r--README.md25
1 files changed, 15 insertions, 10 deletions
diff --git a/README.md b/README.md
index 94a107c..0697b5c 100644
--- a/README.md
+++ b/README.md
@@ -69,23 +69,28 @@ Usage:
mugi [flags] <command> [repo] [remotes...]
Commands:
- pull Pull from remote(s)
- push Push to remote(s)
- fetch Fetch from remote(s)
- help Show this help
- version Show version
+ pull Pull from remote(s)
+ push Push to remote(s)
+ fetch Fetch from remote(s)
+ add <path> Add repository to config
+ rm <name> Remove repository from config
+ list List tracked repositories
+ help Show this help
+ version Show version
Flags:
-c, --config <path> Override config file path
-V, --verbose Show detailed output
+ -f, --force Force push (use with caution)
+ -l, --linear Run operations sequentially
Examples:
mugi pull Pull all repositories from all remotes
- mugi pull windmark Pull Windmark from all remotes
- mugi pull windmark github Pull Windmark from GitHub only
- mugi push windmark gh cb Push Windmark to GitHub and Codeberg
- mugi fetch gemrest/september Fetch specific repository
- mugi -c ./test.yaml pull Use custom config
+ mugi push windmark gh cb Push to GitHub and Codeberg
+ mugi add . Add current directory to config
+ mugi add ~/Developer/mugi Add repository at path
+ mugi rm mugi Remove repository from config
+ mugi list List all tracked repositories
```
## Licence