An open API service indexing awesome lists of open source software.

https://github.com/shubham-kv/expenses-cli

CLI tool to manage expenses.
https://github.com/shubham-kv/expenses-cli

cli-tool expense-tracker expenses finance finance-management nodejs

Last synced: 7 months ago
JSON representation

CLI tool to manage expenses.

Awesome Lists containing this project

README

          

## Features

- Add, edit, delete & list all your expenses
- View summary of your total expenses by month or filter for a specific month

## Getting Started

Install the package globally with `npm` (or `yarn`, etc.)

```bash
npm install --global @shubhamkv/expenses-cli
```

## Usage

Add your expenses with the `expenses add` command:

```bash
expenses add Lunch --amount 20
```

Optionally include a description with the `-d` or `--description` option:

```bash
expenses add Lunch --amount 20 --description "Lunch at a restaurant near office"
```

View all of your expenses with `expenses list`:

```bash
expenses list
```

Update `name`, `amount` & `description` of the expense with `expenses edit`
command passing in the expense's id.

If `7LNjEL1K` is the id of the expense you would do the following to update it's amount:

```bash
expenses edit 7LNjEL1K --amount 25
```

Delete unwanted ones with the `expenses delete` command:

```bash
expenses delete 7LNjEL1S
```

Get a monthly summary of your expenses:

```bash
expenses summary
```

## Credits

Inspired from [Roadmap.sh | Expense tracker](https://roadmap.sh/projects/expense-tracker).