find-readme - Find README.md under path.
This App is a sample implementation for using path/filepath/Walk.
Use the_silver_searcher is more faster and powerful 😌
$ function find-readme { ag -l "" ${1:?} | ag -i 'readme.md'; }
$ find-readme ~/gosee benchmark
$ find-readme [global options] command [command options] path ...
help, h Shows a list of commands or help for one command
--ignore name, -i name Directory name to ignore.
--help, -h show help
--version, -v print the version
$ go get github.com/micheam/find-readme
Show All readme.md or README.md under $HOME/go:
$ find-readme $HOME/go
Same as above but ignore some directory 1:
$ find-readme --ignore pkg --ignore golang.org $HOME/go
MIT
Michito Maeda https://github.com/micheam
Footnotes
-
node_moduleswill always ignored. ↩