Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Game Inventory

Overview

GameInventoryCLI is an interactive command‑line tool for tracking a retail video‑game catalogue.
The program lets you load or save data in CSV form, add or remove titles, adjust stock counts, and view a neatly formatted inventory table complete with a running total of stock value.
Its layered design—ViewOperationsDAL—makes the code easy to read, extend, and test.

Features

Menu Action Process
1 Load data Reads a CSV file into memory; warns before overwriting current data.
2 Save data Writes the current repository to a CSV file; prompts before overwrite.
3 Add game Captures ID, title, manufacturer, price, and initial stock—with validation.
4 Remove game Deletes by ID or title (case‑insensitive).
5 Increase stock Adds units to an existing game’s quantity.
6 Decrease stock Subtracts units (stock may go negative to reflect backorders).
7 List all games Prints a table of every title and shows Total Inventory Value (only positive stock counts).
8 Exit Graceful shutdown with a goodbye message.

Robust exception handling ensures that invalid input, file errors, or duplicate entries never crash the application but instead display the error messages.


Clone, forks and pull requests are welcome!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages