-
Notifications
You must be signed in to change notification settings - Fork 19
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
Update README.md to make long vs short flags clearer #253
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #253 +/- ##
=======================================
Coverage 99.46% 99.46%
=======================================
Files 3 3
Lines 187 187
=======================================
Hits 186 186
Misses 1 1 ☔ View full report in Codecov by Sentry. |
@srstevenson thanks for looking at my PR, could you help merge it please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @DanielTsiang, thanks for contributing! I agree, that replacing the slashes with or makes it clearer to readers how they should specify these options.
I've reverted the change to the migration table though: this flag should remain --preserve-cell-metadata
as the support for preserving notebook metadata and the corresponding --preserve-notebook-metadata
flag was only added after the v2.0.0 release, and hence don't appear in the migration table. The reason there are two rows in the migration table mentioning --preserve-cell-metadata
is because one is demonstrating it for the check
subcommand, and one for the clean
subcommand.
This flag should remain `--preserve-cell-metadata` as the support for preserving notebook metadata and the corresponding `--preserve-notebook-metadata` flag was only added after the v2.0.0 release, and hence don't appear in the migration table.
@srstevenson That makes sense, thanks for explaining! From your reply on the issue here, I only just realised that the flag can go before or after the notebook filename (but has to go after I personally think this:
is a lot neater/simpler than this (which is how it's written in the docs), especially when using it in the CI and you're passing filenames to the
|
Update README.md to make use of long vs short flags clearer, and fix copy-paste typo in the bottom table for ignoring notebook metadata.
I mistakenly just copy and pasted the command from the table but then was confused why it wasn't working...better to make it more foolproof 🙂
This PR addresses the following issue: