Categorygithub.com/groshi-project/grosh
repositorypackage
0.1.3
Repository: https://github.com/groshi-project/grosh.git
Documentation: pkg.go.dev

# README

grosh

grosh is a simple command-line client for groshi.

Installation

Build grosh binary:

make build

And then install it:

sudo make install

Implemented commands

Run grosh --help to see a help message.

User

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

Transactions

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>