mvn clean package
java -jar target/cmd-1.jar [INSERT CMD COMMANDS HERE]
java -jar target/cmd-1.jar ls . -json
Lists all the files and directories at the given path
ls [pathname] [-json]
-json
will print the output in JSON format
# Example:
ls ./testDir -json
Prints the absolute version of the given path
pwd [pathname]
# Example:
pwd ../../..
Creates a directory at the given path
mkdir [pathname]
# Example:
mkdir ../siblingOfParent
Creates a file at the given path
touch [pathname]
# Example:
touch newFile.txt