Skip to content

Xpense tracker is a command-line application for tacking and managing expenses.

Notifications You must be signed in to change notification settings

JoseLuisPelayo/Expense_Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xpense Tracker

Xpense tracker is a command-line application for tacking and managing expenses.
It provides a straightforward way to interact with a expenses database using a simple cli interface.

It allows users to

  • Add new expenses with date, description and amount.
  • Update existing expenses.
  • Delete expenses.
  • View all expenses.
  • View a summary of all expenses.
  • View a summary of expenses for a specific month.
  • Save and load expenses from a file.

Installation

  1. Prerequisites
    Ensure you have the following installed on your system:
    Java Development Kit (JDK)
    Apache Maven

  2. Navigate to the directory where you want to install the application and clone or download this repository:
    git clone https://github.com/JoseLuisPelayo/Expense_Tracke

  3. Navigate to the project
    cd Expense_Tracker

  4. Compile the project There are two ways to compile the project

  5. Reload Your Terminal Once the PATH is updated, for the changes to take effect.

Usage

  • Commands are:
    update -> Update expense
    add -> Add a expense
    remove, rm, delete, del -> Remove a expense
    find, f -> Find expense by ID
    list, ls -> List expenses
    summary, sum -> Summary expenses

  • Add a expense

    • Usage:
      This command add a expense to our history
      xpenseTracker add [-hV] [-d=<expense date>] <expense description><expense amount>
    • Options are:
      -d, --date=
      -h, --help Show this help message and exit.
      -V, --version Print version information and exit.
  • Update expense

    • Usage:
      This command update a expense
      xpenseTracker update [-hV] [-a=<expense amount>] [-d=<expense description>] <expense ID>
    • Options are:
      -a, --amount=
      -d, --description=
      -h, --help Show this help message and exit.
      -V, --version Print version information and exit.
  • Remove a expense

    • Usage:
      This command delete a expense of our history
      xpenseTracker remove[-hV] <expense ID>
    • Options are:
      -h, --help Show this help message and exit.
      -V, --version Print version information and exit.
  • Find expense by ID

    • Usage:
      This command find a expense by ID
      xpenseTracker find [-hV] <expense ID>
    • Options are:
      -h, --help Show this help message and exit.
      -V, --version Print version information and exit.
  • List expenses

    • Usage:
      This command list all expenses
      xpenseTracker list [-hV]
    • Options are:
      -h, --help Show this help message and exit.
      -V, --version Print version information and exit.
  • Summary expenses

    • Usage:
      This command provide the summary of expenses
      xpenseTracker summary [-hV] [-m=<month number 1 to 12>]
    • Options are:
      -h, --help Show this help message and exit.
      -m, --month=<month number 1 to 12> List the summary of the month expenses in the current year
      -V, --version Print version information and exit.

Uninstall

  1. To uninstall the app remove the alias from the enviroment path.
  2. Reload the file path or restart CMD.
  3. Remove the directory where you installed the application.

How to contribute

If you would like to contribute to XpenseTracker, please fork the repository, create a branch for your feature or bug fix, and then submit a pull request.

URL Project

Roadmap.sh Project

About

Xpense tracker is a command-line application for tacking and managing expenses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published