gotree

command
v0.0.0-...-0f47780 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2014 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Command gotree is a reimplmentation of the Unix tree command in Go.

It is not going to be a feature-complete drop-in replacement for the tree command, but rather a showcase of fs/memfs and fs/fsutil packages.

Usage

NAME:
  gotree - Go implementation of the Unix tree command

USAGE:
  gotree [OPTION]... [DIRECTORY]

OPTIONS:
  -a             Lists also hidden files and directories
  -d          List directories only
  -L  level   Descend only <level> directories deep
  -go width   Output as Go literal with specified maximum column width

Example

~/src $ gotree -a -L 1 github.com/rjeczalik/tools
github.com/rjeczalik/tools/.
├── .git/
├── .gitignore
├── .travis.yml
├── LICENSE
├── README.md
├── appveyor.yml
├── cmd/
├── doc.go
├── fs/
├── netz/
└── rw/

5 directories, 6 files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL