The project is in a healthy, maintained state
list directories and self
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 2.0.1, < 3
>= 5.4.1, < 6
 Project Readme

dorian-dir-and-self

List tracked top-level directories in a git repo, plus ..

Install

gem install dorian-dir-and-self

Also included in the aggregate gem:

gem install dorian

Usage

dir-and-self

Run 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