Crates.io | fi-cli |
lib.rs | fi-cli |
version | 0.1.0 |
source | src |
created_at | 2021-01-31 19:57:32.839903 |
updated_at | 2021-01-31 19:57:32.839903 |
description | A command line tool for personal finance |
homepage | https://github.com/makotodejima/fi |
repository | https://github.com/makotodejima/fi |
max_upload_size | |
id | 348994 |
size | 60,147 |
Cli for personal finance
Pull data from Notion tables
$ fi pull
Show history for given currency
$ fi history [--currency | -c] <currency>
Show latest for given currency accounts
$ fi sum [--currency | -c] <currency>
Show sum of all accounts converted to given currency
$ fi networth [--currency | -c] <currency>
and some moreā¦
USAGE:
fi <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
delete Delete all table rows
help Prints this message or the help of the given subcommand(s)
history Display history of accounts
networth Display net worth in given currency
pull Pull account and snapshot data from notion table
sum Display latest sum for given currency
If you:
.env.example
)then you can use it, too.
Here's a sample data recorded in Notion.
I am hosting "Notion API Worker" myself using Cloudflare in order to access Notion table data from cli. (https://notion-api.mkd.workers.dev). If your notion page/table is public, you can also use this endpoint to query your data.
This is a neat tool that allows you to access your Notion content, created by these nice people
See the docs for how to set the token for private pages. For public pages there's no need for authorization.