From 60691a6fb610cb7f7290d6ab3a26bc74f95af611 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 23 Jun 2025 17:24:20 +0300 Subject: Add configuration file support with organization list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- gitsyncer.example.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 gitsyncer.example.json (limited to 'gitsyncer.example.json') 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 -- cgit v1.2.3