File tree 1 file changed +19
-12
lines changed
1 file changed +19
-12
lines changed Original file line number Diff line number Diff line change 74
74
75
75
nbstripout -t FILE.ipynb | other-command
76
76
77
+ Do a dry run and only list which files would have been stripped:
78
+
79
+ nbstripout --dry-run FILE.ipynb [FILE2.ipynb ...]
80
+
81
+ Operate on all ` .ipynb ` files in the current directory and subdirectories
82
+ recursively:
83
+
84
+ find . -name '*.ipynb' -exec nbstripout {} +
85
+
86
+ Print the version:
87
+
88
+ nbstripout --version
89
+
90
+ Show help and usage instructions:
91
+
92
+ nbstripout --help
93
+
94
+ ### Using as a Git filter
95
+
77
96
Set up the git filter and attributes as described in the manual installation
78
97
instructions below:
79
98
@@ -132,18 +151,6 @@ if installed, 1 otherwise):
132
151
133
152
nbstripout --status
134
153
135
- Do a dry run and only list which files would have been stripped:
136
-
137
- nbstripout --dry-run FILE.ipynb [FILE2.ipynb ...]
138
-
139
- Print the version:
140
-
141
- nbstripout --version
142
-
143
- Show help and usage instructions:
144
-
145
- nbstripout --help
146
-
147
154
### Configuration files
148
155
149
156
The following table shows in which files the ` nbstripout ` filter and attribute
You can’t perform that action at this time.
0 commit comments