- First clone this repository and cd into it
- Build using the gradle wrapper, with:
./gradlew build
This will produce a jar file in build/libs/ticketManagement-0.1.0.jar
- To get all the tickets for the account and page through them, run:
java -jar build/libs/ticketManagement-0.1.0.jar tickets
This will return 100 tickets per page, if there are more tickets to view, command prompt will advise you. to see more tickets press enter.
- To view an individual ticket with a given id
java -jar build/libs/ticketManagement-0.1.0.jar ticket <TICKET_ID>
replace <TICKET_ID> with the id for ticket you want to view
./gradlew test