-
Notifications
You must be signed in to change notification settings - Fork 95
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
Can we have a --is_installed
check?
#29
Comments
Yes, good idea, shouldn't be hard to implement, will have a look. |
@michaelaye I'd prefer to follow the GNU convention i.e. use Rather than printing a message I'd rather use the exit / status code i.e. 0 if installed, 1 if not installed, what do you think? Maybe we could have another switch e.g. |
Checks if nbstripout is installed in the current repository.
@michaelaye I have implemented the status code (without output). Any thoughts? |
Thanks, I'd still like a version with a text output though. The whole idea of this is for non-hackers to be able to do this, and those most likely don't know anything about GNU exit codes. |
This functionality is already documented in the README, but it's not yet present. Maybe it's worth removing from the current documentation until it's implemented and merged? |
@themiurgo The feature is in master but not yet released. I'll implement the status functionality @michaelaye was asking for and cut a new release. |
@themiurgo 0.2.7 is released! |
@michaelaye I've added a |
Okay, thanks. major issue i have recently is the performance though. everytime i go into a repo with lots of notebooks, it takes 5 seconds before i get my prompt back, which can be annoying... |
@michaelaye Yes, speed is an issue indeed. Want to create an issue for it? |
#33 ;) |
Checks if nbstripout is installed in the current repository.
Print status of nbstripout installation in current repository and configuration summary if installed.
I'm loosing track where I have nbstripout in use and where not.
Could we have a little check run like:
nbstripout --is_installed
that simple returns: "nbstripout is installed in this repo" or "nbstripout is not installed in this repo" respectively?
Would be great, thanks!
The text was updated successfully, but these errors were encountered: