Aldian1 / UnicornCommandLine

A command line app to manipulate text files. Using Junit for testing and gradle as the build system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnicornCommandLine

A command line app to manipulate text files. Using Junit for testing and gradle as the build system.

Commands: new - Creates a new text file with that name. open - Opens that specific file in a JFrame. If you close the window it will auto-save your content. remove - Removes specified file. copy - Copys specified file to new path.

Run the JAR:

Simply supply this command when either CD'd in the same directory as the JAR or set it a path in your .bash profile. Terminal Command: java -jar UnicornGradle.jar

Things learnt from this project:

  • Importance of architecture
  • Interfaces and why they should be used
  • Setting up a gradle project
  • Setting up JUnit and writing unit tests
  • How writing brittle code can affect the tests that you write

About

A command line app to manipulate text files. Using Junit for testing and gradle as the build system.


Languages

Language:HTML 75.7%Language:Java 24.3%