Sometimes a user may have other files in their notebooks directory that are intentional. There isn't a good way for clean to anticipate arbitrary files, so we'll need a way for users to specify files to exclude/ignore.
Potential implementation
Here is a potential interface that lets users specify globs:
Sometimes a user may have other files in their notebooks directory that are intentional. There isn't a good way for
clean
to anticipate arbitrary files, so we'll need a way for users to specify files to exclude/ignore.Potential implementation
Here is a potential interface that lets users specify globs:
Passing in ad hoc to a
clean
command:Configuring in a way to be reusable:
Then for a file tree that looks like:
notesbooks/script/0.2-ejm-features-creation.py
,0.1-ejm-data-exploration.html/html/0.1-ejm-data-exploration.html
will be marked for deleting.notebooks/README.md
andnotebooks/images/plot.jpg
will be safe.