Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

TimNekk/BookDepository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookDepository

CLI app for visiting library :)

Overview

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

  • 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.
  1. To get list of all books in library use command:
all
  1. To get list of all books in your bundle use command:
list
  1. 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
  1. 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
  1. To exit from app use command:
exit

It will return all books from your bundle to library and exit from app.

Usage

Install app using Maven.

mvn package

And run it.

java -jar target\BookDepository-0.1.1.jar

About

CLI app for visiting library :)

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages