This tool was developed during a hackathon promoted by the Ignite Community.
The challenge was to develop a CLI that could interact with the Prometeo Open Banking API.
Get them from Releases, the exe
file is for Windows while the other is for GNU/Linux
, or as I've recently taken to calling it, GNU plus Linux.
Make sure you have rust installed in your system, if you don't, get it from here.
You can simply run cargo build -r
Check out cross
For example, as my host OS is Arch Linux (btw), I had to use the following command to make a build for Windows:
cross build --target x86_64-pc-windows-gnu
chmod +x prometeo-cli
./prometeo-cli
./prometeo-cli.exe
- Login
- Log Out
- Set API key
- List providers
- Accounts
- Credit Cards
Every developer should have at least one project written in Rust otherwise you're irrelevant
- reqwest: makes requests
- tokio: asynchronous support for rust
- dialoguer: those nice menus you saw
- colored: adds colors to the displayed messages
- serde: for serialization
- serde_json: for json support
- jfs: abstraction to read and write json to the filesystem
- dirs: cross-platform directories (such as
~/.config
or/home/${username}
)
You can store things with it, gets the job done. Storing data such as api_key
, user_key
and username
seems convenient, although a safer approach might be preferable.
(Click on the image to see the a demo)