This is the main screen of CatPals.
Table of Contents
Background
This project is a brownfield software engineering project developed by a team of five,
based on AddressBook Level 3 (AB3),
a sample desktop application provided by CS2103T course team, AY2526 Sem2.
In the sample project, AB3 simulates an ongoing software project with an existing object-oriented codebase, documentation, and architecture, making it a suitable foundation for extension rather than building a product from scratch.
Building on this base, our team adapted the original contact-management application into a desktop app for NUS Cate Cafe CCA volunteers to manage information about stray cats on the NUS campus. The app is designed for users who prefer fast keyboard-based interaction, are comfortable with CLI-style workflows, and need an efficient way to identify cats and keep important status details up to date.
It is intended for personal or small-team volunteer use, rather than as a veterinary medical system, shelter operations tool, or public registry.
For the detailed documentation of this project, see the Cat Pals Website.
Install
- To successfully use our application, it is best to ensure that you are using Java 17.
Check your current Java version in terminal by running:
java -version - Download the latest version of catpals.jar from our repository.
- Put the jar file in an empty folder to avoid being affected by other files in the folder.
- Navigate to the folder in your terminal and run the following command:
java -jar catpals.jar
Usage
Type a command in the command box and press Enter to execute it.
Command Summary
| Command | Format | Examples |
|---|---|---|
| Add a cat | add n/NAME t/TRAIT... l/LOCATION [h/HEALTH_STATUS] |
add n/Bowie t/Orange l/Utown h/Vaccinated |
| Attach a photo to a cat | attach INDEX IMAGE_PATH or attach CAT_NAME IMAGE_PATH |
attach 1 images/bowie.png or attach Bowie images/bowie.png |
| Delete a cat by name or index | delete [CAT_NAME] or delete [CAT_NUMBER] |
delete Snowy or delete 3 |
| Update a cat by name or index | update NAME/INDEX [n/NAME] [t/TRAIT] [l/LOCATION] [h/HEALTH] |
update Snowy l/utown or update 3 l/PGPR |
| Find cats | find n/CAT_NAME or find l/LOCATION or find t/TRAIT or find h/HEALTH_STATUS |
find n/Mochi or find t/Striped or find l/COM3 or find h/Sick |
| Export the cat list to HTML | export |
export |
| Clear all cats | clear |
clear |
| List all cats | list |
list |
| Help | help |
help |
| Exit | exit |
exit |
Notes
- Parameters in
UPPER_CASEare supplied by the user (e.g.n/NAME→n/Snowy). - Items in
[square brackets]are optional. - Items followed by
…can be used multiple times or omitted entirely.
e.g.[t/TRAIT]…can be used ast/white,t/white t/smalletc. - Extraneous parameters for commands that do not take in parameters (such as
help,list,exitandclear) will be ignored.
e.g. if the command specifieshelp 123, it will be interpreted ashelp.
Data Storage
Contact data is saved automatically to [JAR location]/data/addressbook.json after every change — no manual saving required.
Contributing
This project was developed by a team of five as a brownfield Software Engineering project based on AddressBook Level 3 (AB3).
Acknowledgements
This project is based on the AddressBook-Level3 project created by the SE-EDU initiative.
AddressBook-Level3 project is a part of the se-education.org initiative. If you would like to contribute code to this project, see se-education.org for more info.
License
MIT License
Copyright (c) 2026 AY2526S2 CS2103T-T16-3
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.