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

Suggestion: add -y flag #969

Open
skutter-de opened this issue Feb 21, 2022 · 4 comments
Open

Suggestion: add -y flag #969

skutter-de opened this issue Feb 21, 2022 · 4 comments

Comments

@skutter-de
Copy link

I'm trying to automate the use of vdirsyncer for backing up from sogo (mailcow). For automation it would be cool if it didn't ask if it should create a folder if i just pass a flag like -y and instead just do it automatically.

Sidenote: How can I use it as a library in my own python stuff? The code doesn't make this clear for me sadly.

@WhyNotHugo
Copy link
Member

You can create empty directories manually as a workaround for now. A flag to indicate "yes, create all" would be nice though.

How can I use it as a library in my own python stuff? The code doesn't make this clear for me sadly.

Not really, but it's planned, I'll have more on this soon.

@dilyanpalauzov
Copy link
Contributor

You can evaluate #869.

@c-schwamborn
Copy link

Second that request.
Adding --yes --batch or something similar to silence any yes/no question would greatly extend the use case of this script.

@jrpear
Copy link

jrpear commented Nov 12, 2023

For now you can use yes | vdirsyncer discover and the like.

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

No branches or pull requests

5 participants