grosh

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2023 License: MIT Imports: 5 Imported by: 0

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>

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL