You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the clean doc: https://nbautoexport.drivendata.org/cleaning/
I tried to add a folder to exclude, and it overwrote my old non-default export_formats config.
I think it would be more natural to not have everything overwritten.
What I Did
❯ cat notebooks/.nbautoexport
{
"export_formats": [
"script",
"html"
],
"organize_by": "extension",
}
❯ nbautoexport configure notebooks/ \
--clean-exclude 'report/*'
Detected existing autoexport configuration at notebooks/.nbautoexport. If you wish to overwrite, use the --overwrite flag.
❯ nbautoexport configure notebooks/ --overwrite \
--clean-exclude 'report/*'
❯ cat notebooks/.nbautoexport
{
"export_formats": [
"script"
],
"organize_by": "extension",
"clean": {
"exclude": [
"report/*"
]
}
}
The text was updated successfully, but these errors were encountered:
Update: I no longer think there is a need for this functionality. I just directly edit the config file like other dotfiles.
I think we just need to prompt user to optionally edit the config file themselves when existing file is detected. Maybe add documentation for the syntax.
Description
In the
clean
doc: https://nbautoexport.drivendata.org/cleaning/I tried to add a folder to exclude, and it overwrote my old non-default
export_formats
config.I think it would be more natural to not have everything overwritten.
What I Did
The text was updated successfully, but these errors were encountered: