git-config-sync
git-config-sync copied to clipboard
Create a console program to sync
The idea
Create a console program to perform this process in a simplified way.
Eg:
First time (creating the BK).
git-config-sync login --github
git-config-sync set-folder /home/username/
git-config-sync set-repo adonyssantos/git-config-sync
git-config-sync push
Maybe set-folder and set-repo could be summarized in one command. Eg: git-config-sync set /home/username/ adonyssantos/git-config-sync.
Other times (to download the BK).
git-config-sync login --github
git-config-sync set-folder /home/username/
git-config-sync set-repo adonyssantos/git-config-sync
git-config-sync pull
Roadmap
- [ ] Create a bash script
- [ ] Create an NPM package
- [ ] Create a binary for Linux, Mac, and Windows
It would be interesting to add a page where you can upload personal configurations and make it like a catalog where any user can copy another user's configuration if it is public.
It would be interesting to add a page where you can upload personal configurations and make it like a catalog where any user can copy another user's configuration if it is public.
That's a good idea, maybe we can do that using Astro and Palm Tree 2.0 (A classless CSS open-source library that I'm building).