CLI app for visiting library :)
There are library with books and your bundle of your books.
You can visit library and take some books.
You can also return books to library.
You can see all books in library and all books in your bundle.
- Commands are case insensitive.
- You can start command with
/or without it. - Arguments are case sensitive.
- Arguments are separated by spaces.
- You should use
"for arguments that contain spaces.
- To get list of all books in library use command:
all
- To get list of all books in your bundle use command:
list
- To take book from library to your bundle use command:
get title
If there are several books with the same title, you should specify author:
get title author
- To return book from your bundle to library use command:
put title
If there are several books with the same title, you should specify author:
put title author
- To exit from app use command:
exit
It will return all books from your bundle to library and exit from app.
Install app using Maven.
mvn package
And run it.
java -jar target\BookDepository-0.1.1.jar