Skip to content
Snippets Groups Projects
Ivanov, Ivan (UG - Computer Science)'s avatar
Third Functionality Completed. Tests and comments provided.

See merge request !2
deb53f6c
History

Linux Tree CLI

Usage

$ make build
$ make run directory=tests filter=2021-04-22 #Runs the command using filter and prints in terminal.
$ make json directory=tests #Runs the CLI using -j to output to JSON.

Testing

$ make test

Discussion

The application runs in 2 different modes: Terminal and JSON. Terminal outputs the tree structure. JSON outputs the structure to a JSON file.

Dependencies

  • You'd need to have GOPATH exported. GOBIN for MACOS for go get command