Skip to content

Ask whether or not you want to replace existing files when using a command. #3

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

Closed
cjamcu opened this issue Aug 26, 2020 · 4 comments
Closed

Comments

@cjamcu
Copy link

cjamcu commented Aug 26, 2020

When using the get create page: name command and the page already exists it should ask whether you want to replace the existing page or not. This is most likely applicable to other commands that create files.

@CpdnCristiano
Copy link
Collaborator

CpdnCristiano commented Aug 26, 2020

I'll add a --replace

get create page:home --replace

Yesterday I changed the function of creating Thinking about it.

@jonataslaw
Copy link
Owner

I'm doing an update right now with a selector, I think it's more intuitive to open the menu asking if the user wants to overwrite the file

@cjamcu
Copy link
Author

cjamcu commented Aug 26, 2020

I'm doing an update right now with a selector, I think it's more intuitive to open the menu asking if the user wants to overwrite the file

This is what I was saying. Something that asks if you want to replace or not.

@jonataslaw
Copy link
Owner

Fix on 0.10.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants