adonyssantos / git-config-sync

⚙️ Synchronizing local config files with with any Git cloud services like GitHub, GitLab or BitBucket ☁️
39 stars 39 forks source link

Create a console program to sync #4

Open adonyssantos opened 6 months ago

adonyssantos commented 6 months ago

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

jcorona48 commented 6 months ago

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.

adonyssantos commented 6 months ago

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).