up-cli 0.2.0

A CLI to interact with the Up Banking API
up-cli-0.2.0 is not a library.

Up Banking CLI

License Badge crates.io Badge

This is a simple command line program to interact with the Up Banking API.

Installation

$ cargo install --force up-cli

Usage

First you should get an API token from Up.

Then set it as an environment variable:

$ export UP_API_TOKEN="<token here>"

Then simply run:

$ 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!