A GoLang port of the command line expense tracker CLExp.
clexpg is designed as a simple expense tracker. It stores data in a human readable (tab delimited) format, and is meant to be synced between devices via another service (Spideroak, Dropbox, automated rsync, etc).
clexpg [-f filename] [--ignore <categories>] <command> [arguments]
Examples:
clexpg add 8.95 food Lunch
(adds an expense for $8.95 to the Food category, with the description "Lunch" and today's date)
clexpg add 8.95 food Lunch 12/20/2013
(adds an expense for $8.95 to the Food category, with the description "Lunch" and the date 12/20/2013)
clexpg add 45.30/3 food Lunch
(Evaluate the expression "45.30/3" and add the result to the Food category with the description "Lunch")
clexpg total
(shows the total amount spent in all time)
clexpg total 2013
(shows the total amount spent in 2013)
clexpg total 2013 12
(shows the total amount spent in December 2013)
clexpg detail
(Shows total spent for each category for all time)
clexpg detail 2013 12
(Shows total spent for each category for December 2013)
clexpg totals
(shows the total amount spent by month)
clexpg categories
(shows categories currently found in the data file)
clexpg --ignore food totals
(Ignores anything in the "food" category for reporting; totals, summary, etc.)
Data is read from/saved to the file specified by the -f parameter, or defaults
to expenses.csv in the current directory.
--ignore <category1,category2...> Ignores anything with the listed categories
for reporting (totals, summary, detail, etc.) Only applies if -c isn't used to include
specific categories. search and list will still include all categories