grosh is a simple command-line client for groshi.
Build grosh binary:
make build
And then install it:
sudo make install
Run
grosh --help
to see a help message.
Create a new groshi user:
grosh register <URL> [USERNAME]
Login to groshi server and store credentials locally:
grosh login <URL> [USERNAME]
Remove locally stored credentials:
grosh logout
Create a new transaction:
grosh new [--timestamp=<TIME>] [--description=<TEXT>] <AMOUNT> <CURRENCY>
List transactions in given period and optionally in given currency:
grosh list [--uuid] [--currency=<CURRENCY>] [--end-time=<TIME>] <START-TIME>
Show summary of transactions for given period in given currency:
grosh summary [--end-time=<END-TIME>] <START-TIME> <CURRENCY>
Update transaction:
grosh update [--amount=AMOUNT] [--currency=CURRENCY] [--description=DESCRIPTION] [--timestamp=TIME] <UUID>
Remove transaction:
grosh remove <UUID>
- Place
-
char in the end of negative amounts, not in the beginning (e.g.0.75-
will be interpreted as-0.75
).