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
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,30 @@ On Unix based systems (e.g. MacOS or GNU Linux):
132
132
133
133
This file follows the same pattern matching principles as other `.gitignore` or `.ignore` files and has a lower precedence than all other sources of ignore rules.
134
134
135
+
### `--text` mode
136
+
137
+
Text mode allows for either piping through stdin, e.g.:
138
+
139
+
```bash
140
+
echo'Hello World'| stdrename --text -k
141
+
```
142
+
143
+
or interactive use, e.g.:
144
+
145
+
```bash
146
+
stdrename --text -s
147
+
reallyCreativeProgramName.js
148
+
really_creative_program_name.js
149
+
PYTHONISTA_BANANA.py
150
+
pythonista_banana.py
151
+
This is really just a normal sentence
152
+
this_is_really_just_a_normal_sentence
153
+
```
154
+
155
+
Either way, the program terminates and stops reading as soon as it encounters an empty line.
156
+
157
+
To suppress the exit message (if piping stdout to another file for example) add the `-q` or `--quiet` flag.
0 commit comments