npm install -g costflow-cli
All the input should follow Costflow Syntax.
Your config file will be generated when you run
costflow first time, the name is .costflow.json and located in your home directory. Your should update it before you start.
The config fields are same as Costflow Syntax, except a new field name
filePath is the ledger file path you want Costflow CLI to save the output.
filePath can contain a dynamic date format, the dynamic part should between two %. Here are some variable you can use.
The month, beginning at 1
The month, 2-digits
The abbreviated month name
The full month name
The day of the month
The day of the month, 2-digits
For example, if the filePath is
/Users/leplay/beancount/%YYYY/MM%.bean and the posting date is 2019-09-18, the output will be saved to