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 remove command #59

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Add remove command #59

merged 1 commit into from
Dec 6, 2024

Conversation

manzt
Copy link
Owner

@manzt manzt commented Dec 6, 2024

Fixes #58

Removes dependencies from the notebook. Dependencies are removed from
the PEP-723 inline metadata. The command follows uv's semantics: If
multiple entries exist for a given dependency, i.e., each with different
markers, all of the entries will be removed. See the uv docs for more
information.

Usage

uvx juv remove Untitled.ipynb numpy anywidget

Removes dependencies from the notebook. Dependencies are removed from
the PEP-723 inline metadata. The command follows uv's semantics: If
multiple entries exist for a given dependency, i.e., each with different
markers, all of the entries will be removed. See the [uv
docs](https://docs.astral.sh/uv/reference/cli/#uv-remove) for more
information.
@manzt manzt merged commit fdd0f75 into main Dec 6, 2024
19 checks passed
@manzt manzt deleted the manzt/remove branch December 6, 2024 02:15
@manzt manzt added the enhancement New feature or request label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"remove" command for juv notebooks
1 participant