-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add command line arg to include hidden files
- Loading branch information
1 parent
c0194a1
commit 8292cc5
Showing
4 changed files
with
163 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ If the instance you're attempting to replace has changed since the search was pe | |
|
||
## Features | ||
|
||
Scooter respects both `.gitignore` and `.ignore` files. | ||
Scooter respects both `.gitignore` and `.ignore` files. By default hidden files (such as those starting with a `.`) are ignored, but can be included with the `--hidden` (`-.`) flag. | ||
|
||
You can add capture groups to the search regex and use them in the replacement string: for instance, if you use `(\d) - (\w+)` for the search text and `($2) "$1"` as the replacement, then `9 - foo` would be replaced with `(foo) "9"`. | ||
|
||
|
@@ -69,7 +69,7 @@ Ensure you have cargo installed (see [here](https://doc.rust-lang.org/cargo/gett | |
```sh | ||
git clone [email protected]:thomasschafer/scooter.git | ||
cd scooter | ||
cargo install --path . | ||
cargo install --path . --locked | ||
``` | ||
## Contributing | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters