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

improve clean command #66

Open
4 tasks
pietroppeter opened this issue Feb 19, 2023 · 1 comment
Open
4 tasks

improve clean command #66

pietroppeter opened this issue Feb 19, 2023 · 1 comment

Comments

@pietroppeter
Copy link
Owner

pietroppeter commented Feb 19, 2023

in recent PR #56 clean command has been reduced to only clean the output folder.
it could still use some improvements:

  • add a dry-run option
  • how to cleanup automatically logs?
  • support the keep parameter taking values from nimibook config (so that we can avoid cleaning specific files in output folder
  • should we reintroduce an option to perform again cleaning of source folder? (we would need keep to support source folder also)
@HugoGranstrom
Copy link
Collaborator

how to cleanup automatically logs?

I don't know what it's worth, but logs are removed at the start of building a document. So if it runs successfully, the old log file will be removed (or rather, it will not be recreated).

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

2 participants