Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
/ grosh Public archive

💾 grosh is a simple yet powerful command-line client for groshi

License

Notifications You must be signed in to change notification settings

groshi-project/grosh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

Notes:

  • Place - char in the end of negative amounts, not in the beginning (e.g. 0.75- will be interpreted as -0.75).

About

💾 grosh is a simple yet powerful command-line client for groshi

Topics

Resources

License

Stars

Watchers

Forks