diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-23 17:24:20 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-23 17:24:20 +0300 |
| commit | 60691a6fb610cb7f7290d6ab3a26bc74f95af611 (patch) | |
| tree | 8c6fb5cc4f3907c14bbc6258ed8eac85041acf05 /gitsyncer.example.json | |
| parent | 97e0151ba6a260195ced76ab69d3e3bd58ba68fc (diff) | |
Add configuration file support with organization list
- Create config package with JSON parsing support
- Define Organization struct with host and name
- Add config file auto-detection in common locations
- Add --config/-c flag for custom config path
- Add --list-orgs flag to display configured organizations
- Create example configuration file
- Add comprehensive .gitignore
Configuration supports multiple git organizations for future sync functionality.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'gitsyncer.example.json')
| -rw-r--r-- | gitsyncer.example.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gitsyncer.example.json b/gitsyncer.example.json new file mode 100644 index 0000000..3170286 --- /dev/null +++ b/gitsyncer.example.json @@ -0,0 +1,12 @@ +{ + "organizations": [ + { + "host": "git@codeberg.org", + "name": "snonux" + }, + { + "host": "git@github.com", + "name": "snonux" + } + ] +}
\ No newline at end of file |
