forked from solidiquis/erdtree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to take glob patterns from stdin
as requested in issue solidiquis#51 This adds a new (hidden) flag `--stdin` to indicate that `et` should take input from stdin. Since the naming convention is to use `-` for this, we replace the args `-` with `--stdin` before we hand them over to Clap. Example usage: ```shell $ touch hello.rs helLo.rs HELlo.rs $ fd -e rs '^hel[lL]o' | et - erdtree 0 B ├─ hello.rs 0 B └─ helLo.rs ```
- Loading branch information
Showing
3 changed files
with
44 additions
and
4 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
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