# Up Banking CLI


This is a simple command line program to interact with the Up Banking API.
## Installation
```bash
$ cargo install --force up-cli
```
## Usage
First you should get an API token from [Up](https://api.up.com.au/getting_started).
Then set it as an environment variable:
```bash
$ export UP_API_TOKEN="<token here>"
```
Then simply run:
```bash
$ up-cli
✅ Logged In Successfully
⚡ help
Up Banking CLI Help
Commands:
- balance (prints all account balances)
- transactions (show last 10 transactions)
- tally_income (counts all transactions related to income)
- exit (quits the app)
⚡ exit
```
To run a single command, pass the command as an argument. e.g.
```
$ up-cli balance
```
More features coming soon, feel free to help out with a PR!