dorian-dir-and-self
List tracked top-level directories in a git repo, plus ..
Install
gem install dorian-dir-and-selfAlso included in the aggregate gem:
gem install dorianUsage
dir-and-selfRun dir-and-self -h for generated option details and dir-and-self -v for the installed version.
Notes
- Uses
git ls-files, ignores dot-prefixed paths, and prints only directories plus the current directory marker.
Examples
Use with another command
dir-and-self | xargs -n1 echo