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

Add clear-output as a convenience flag per @rjleveque's in-person suggestion #619

Merged
merged 1 commit into from
Jul 20, 2017

Conversation

mpacer
Copy link
Member

@mpacer mpacer commented Jul 1, 2017

Talking with @fperez and @rjleveque today pointed out that nbconvert should be able to apply the ClearOutputPreprocessor easily on a file. However doing so is unnecessarily verbose, e.g.:

jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace example.ipynb

This creates a flag that makes this much more concise.

jupyter nbconvert --clear-output example.ipynb

@mpacer mpacer changed the title Add clear-output flag as a convenience flag per @rjleveque's in-person suggestion Add clear-output as a convenience flag per @rjleveque's in-person suggestion Jul 1, 2017
@mpacer
Copy link
Member Author

mpacer commented Jul 19, 2017

Does anyone have an objection to this?

@takluyver takluyver added this to the 5.3 milestone Jul 20, 2017
@takluyver
Copy link
Member

Looks good to me. Don't forget to mention it in the release notes :-)

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

Successfully merging this pull request may close these issues.

None yet

2 participants