ffizer / ffizer

ffizer is a files and folders initializer / generator. Create any kind (or part) of project from template.
https://ffizer.github.io/
Creative Commons Zero v1.0 Universal
105 stars 10 forks source link

Improve no interaction mode #699

Open hverlin opened 9 months ago

hverlin commented 9 months ago

When running ffizer without any interactions (or no tty), ffizer will fail if --update-mode is not set correctly. I think it should default to keep in this case?

Here is how I would suggest updating the code to cover this use case: https://github.com/hverlin/ffizer/compare/doc/scripts...hverlin:ffizer:hv/additional-logs

I am also printing the variables values when hidden or --no-interaction is set.

I think probably that checking --no-interaction should be set to true if isatty returns false?