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

Projects
None yet
2 participants
@mpacer
Copy link
Member

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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Member

takluyver commented Jul 20, 2017

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

@takluyver takluyver merged commit a385be6 into jupyter:master Jul 20, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@mpacer mpacer added unlogged and removed unlogged labels Aug 31, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment