1.0.2 • Published 4 years ago
moneydcli v1.0.2
MDcli
Usage
$ npm install -g moneydcli
$ MDcli COMMAND
running command...
$ MDcli (-v|--version|version)
moneydcli/1.0.2 win32-x64 node-v10.15.1
$ MDcli --help [COMMAND]
USAGE
$ MDcli COMMAND
...
Commands
MDcli addDepot
Add a new Depot where you can safe money
USAGE
$ MDcli addDepot
OPTIONS
-n, --name=name (required) Name of your new Depot post
-s, --short=short (required) Short form of your Depot 1 to 3 capital letters
DESCRIPTION
eg: MDcli addDepot -n "random Name" -s RND
See code: src\commands\addDepot.js
MDcli addT
Create a new Transaction. It can positiv or negativ.
USAGE
$ MDcli addT
OPTIONS
-a, --amount=amount (required) amount of Money for input or output. Expense start with - eg: -12
-d, --destination=destination [default: DFT] In which depot you safe the money. Provide the shortform of the Depot
-p, --purpose=purpose [default: not specified] for which reason spend the money. simple string
DESCRIPTION
eg: MDcli addT -a 30 -p "small describtion -d RND
See code: src\commands\addT.js
MDcli deleteDepot
Delete a Depot. You need to provide the short form of your Depot name
USAGE
$ MDcli deleteDepot
OPTIONS
-s, --short=short (required) Short form of your Depot 1 to 3 capital letters
DESCRIPTION
Delete a Depot. You need to provide the short form of your Depot name
eg: MDcli deleteDepot -s RND
It will not delete the Transactions assosiated with this Depot
See code: src\commands\deleteDepot.js
MDcli help [COMMAND]
display help for MDcli
USAGE
$ MDcli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
MDcli ls
List all your Depots or transactions. Depend on the flag you set. No flag will show you booth
USAGE
$ MDcli ls
OPTIONS
-d, --depots for print all your Depots
-f, --filter=filter filter for one Depot
-t, --transactions for print all transactions
DESCRIPTION
List all your Depots or transactions. Depend on the flag you set. No flag will show you booth
See code: src\commands\ls.js