git-config-sync icon indicating copy to clipboard operation
git-config-sync copied to clipboard

Create a console program to sync

Open adonyssantos opened this issue 1 year ago • 2 comments

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

adonyssantos avatar Mar 25 '24 18:03 adonyssantos

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.

jcorona48 avatar Mar 27 '24 15:03 jcorona48

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

adonyssantos avatar Mar 27 '24 23:03 adonyssantos