https://github.com/timnekk/bookdepository
CLI app for visiting library :)
https://github.com/timnekk/bookdepository
Last synced: 9 months ago
JSON representation
CLI app for visiting library :)
- Host: GitHub
- URL: https://github.com/timnekk/bookdepository
- Owner: TimNekk
- Archived: true
- Created: 2023-02-08T15:43:34.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-17T13:46:00.000Z (over 3 years ago)
- Last Synced: 2025-03-23T13:33:38.345Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```
2. To get list of all books in your **bundle** use command:
```
list
```
3. 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
```
4. 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
```
5. 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
```