You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,11 @@ Or use one of the scripts below:
109
109
110
110
Refer to the [documentation](https://nbrefactor.readthedocs.io/en/latest/) for the comprehensive commands' reference. Some basic usages are provided below.
111
111
112
+
Sample basic usage:
113
+
```bash
114
+
jupyter nbrefactor notebook.ipynb output_dir/
115
+
```
116
+
112
117
## Command Line Interface
113
118
114
119
`nbrefactor` provides a CLI to easily refactor notebooks into a structured project hierarchy.
@@ -121,6 +126,13 @@ To use the CLI, run the following command:
This is particularly useful when your refactored code uses relative imports between modules. The generated __init__.py files properly expose the modules, making Python's import system work correctly.
0 commit comments