Skip to content
jessekingfPublic

About

Utility to print the structure of a directory

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

Directory Tree

A command-line utility to print the structure of a directory.

Usage

dirtree [options] [path]

Arguments:

path  The directory path to print.
      If not provided, defaults to the current directory.

Options:

-a, --all      Include hidden files in the output.
-g, --git      Include only files tracked in a git repository.
-v, --version  Display the application version.
-h, --help     Display the help.

Example

Example command to print this repository:

dirtree --git

Output:

.
|-- build/
|   |-- build.sh
|-- src/
|   |-- Common/
|   |   |-- Diagnostics/
|   |   |   |-- IProcessManager.cs
|   |   |   |-- ProcessManager.cs
|   |   |   |-- ProcessResult.cs
|   |   |-- Common.csproj
|   |-- DirectoryTree/
|   |   |-- Git/
|   |   |   |-- GitController.cs
|   |   |   |-- IGitController.cs
|   |   |-- Options/
|   |   |   |-- InvalidOptionException.cs
|   |   |   |-- OptionsParser.cs
|   |   |   |-- ProgramOptions.cs
|   |   |-- Properties/
|   |   |   |-- Resources.Designer.cs
|   |   |   |-- Resources.resx
|   |   |-- DirectoryPrinter.cs
|   |   |-- DirectoryTree.csproj
|   |   |-- Program.cs
|   |-- .editorconfig
|   |-- .globalconfig
|   |-- Common.Tests.props
|   |-- coverlet.runsettings
|   |-- Directory.Build.props
|   |-- DirectoryTree.sln
|   |-- stylecop.json
|-- .gitattributes
|-- .gitignore
|-- LICENSE.txt
|-- README.md
|-- version.json

About

Utility to print the structure of a directory

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages