Skip to content

LevinGar/Ledger-Simple-Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requisites

-node and npm installed

Node: https://nodejs.org/en/download/ npm: npm install -g npm

-install npm packages npm install

How to use

Commands:

register | r
balance | b
print | p

Flags:

-f, --file Provide file path
-s, --sort Sort by date or description writing "date" or "desc" after the flag (default: null)
-p, --price_db Use the price_db of the commodity purchase for performing calculations. (default: null)
-h, --help Get CLI commands information

The arguments should be introduced in this order:
node . --file "file path"

Examples:

node . balance --sort date --file files/Bitcoin.ledger
node . register --sort desc --file files/Income.ledger
node . print -f files/Bitcoin.ledger

In order of getting help run:

node . --help

The flag "--file" is mandatory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors