nfiles / endpoint-directory-tree

Repository from Github https://github.comnfiles/endpoint-directory-treeRepository from Github https://github.comnfiles/endpoint-directory-tree

Directory Tree

Prerequisite - install go

  1. download the go binary here: https://go.dev/doc/install
  2. run the installer

Run

Navigate to this directory in your favorite shell

To test with the sample input:

go run . < input.txt

To launch a REPL and provide your own commands:

go run .
# enter commands
# CTRL-C to exit

Cross-compiled binaries have been included in bin/ if that's easier. Only bin/directorytree_linux_amd64 has been tested, so buyer beware. :)

bin/directorytree_linux_amd64 < input.txt

Author

Nathan Files
nathanwfiles@gmail.com

About

License:MIT License


Languages

Language:Go 88.9%Language:Shell 11.1%