Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restoring from gbck #2

Open
ika-musuko opened this issue Dec 1, 2018 · 2 comments
Open

restoring from gbck #2

ika-musuko opened this issue Dec 1, 2018 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@ika-musuko
Copy link

this tool is so good i love it

let's say i have a new machine or something and i want to restore my files. of course i could just clone my original repo but does gbck support restoring the files to their correct locations from the config file? and if so how does it work?

@jukben
Copy link
Owner

jukben commented Dec 2, 2018

Hi @ika-musuko,

thank you for such a lovely feedback! I have to admit I'm not reinstalling the computer that often, BUT I totally understand your needs. The situation right now is that it's not possible 😔. But it should be pretty doable 💪. I would suggest a new command --restore (-r).

Example:

gbck --restore <repository>

First, this would ask you for a name for the project.

Next, it would restore only files (not commands' stdouts). If the file will exist it'd ask you if you want to overwrite it or now.

However, this will be possible just for projects with gbck settings versioned as well.

Does it make a sense? 👍

@jukben jukben added enhancement New feature or request help wanted Extra attention is needed labels Dec 2, 2018
@ika-musuko
Copy link
Author

yeah i like that syntax! and yeah that's how i envisioned this new flag working. i especially think prompting for overwrite is a good idea lol

@jukben jukben added this to the 2.0 milestone Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants