diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-29 10:01:35 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-29 10:01:35 +0300 |
| commit | 89f34ab3c4b139ec7ac7cae80fe288b94e8f600f (patch) | |
| tree | f3b282c72c33f28f67a773afec4c55975cc0c025 /doc/api-reference.md | |
| parent | 90e3fc07894c754364809c4733e403bf4fdeb484 (diff) | |
docs(cli): replace legacy flag examples with cobra subcommands (rq)
Diffstat (limited to 'doc/api-reference.md')
| -rw-r--r-- | doc/api-reference.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api-reference.md b/doc/api-reference.md index b7ed2f8..7ad41b1 100644 --- a/doc/api-reference.md +++ b/doc/api-reference.md @@ -73,16 +73,16 @@ Lists all configured organizations from config. Lists all configured repositories from config. #### func HandleSync(cfg *config.Config, flags *Flags) int -Synchronizes a single repository specified by `--sync` flag. +Synchronizes a single repository, used by `gitsyncer sync repo [name]`. #### func HandleSyncAll(cfg *config.Config, flags *Flags) int -Synchronizes all repositories listed in configuration. +Synchronizes all repositories listed in configuration, used by `gitsyncer sync all`. #### func HandleSyncCodebergPublic(cfg *config.Config, flags *Flags) int -Discovers and syncs all public Codeberg repositories to other platforms. +Discovers and syncs all public Codeberg repositories to other platforms, used by `gitsyncer sync codeberg-to-github`. #### func HandleSyncGitHubPublic(cfg *config.Config, flags *Flags) int -Discovers and syncs all public GitHub repositories to other platforms. +Discovers and syncs all public GitHub repositories to other platforms, used by `gitsyncer sync github-to-codeberg`. ### Helper Functions (sync_handlers.go) |
