tree

cmd/tree

Show directory tree view

Quick Start

tree [path] [--depth=N] [--all]

At A Glance

Name
tree
Help Source
flag.Usage via -h
Doc Source
package comments
Flags
2
Subcommands
0

Usage

  • tree [path] [--depth=N] [--all]

Subcommands

No subcommands.

Flags

FlagTypeDescription
-all - Show hidden files
-depth int Maximum depth to display (default 3)

Exit Codes

CodeMeaning
0 Success
1 Runtime/command error
2 Invalid flags/usage