Lists the contents of directories in a tree-like format.
This command prints all files and folders begining from /home directory.
java -jar NameOfGeneratedJar.jar ./home -a
Print help.
java -jar NameOfGeneratedJar.jar -h
- Create new class inside traverse package that names will be like its functionality.
- Extends this class with the AbstractTree class from root package.
- You must override only two methods to add new functionality.
void createLeaf(String prefix, File file, String leftLeaf, String rightLeaf);
void printTree(String directory);
- Add new shortcut to Arguments enum class.
- Add this shortcut to Help class.
- Add new condition to Main class.