.TH clipf 1 .SH NAME clipf \- Personal finance manager with command line interface .SH SYNOPSIS .B clipf [] .SH DESCRIPTION Simple personal finance manager, allows one to track their income/expences by accounts and hierarchical categories. Store all data in flat text files. .SH ARGUMENTS .TP Directory with configuration file and data files. Default to ~/.clipf/. If there is no such directory found at program startup, it would be created and populated by default configuration and empty data files. .SH DEFINITIONS .B account - describe independent money storage, for which You want to track remains and turnover. .P .B item - describe categories of Your incomes/expences. Can be nested as files/directories in file system. .P .B item code - it is segmented unique identifier of item/item group. Period "." in item code define nesting levels. Period at the end of item code describe, that this item is group (have subling items). .P .B operation - define single money transaction (income or expense). .P .B tag - arbitrary string, used for additional classification of operations. Have the same nesting rules as items. Any number of tags can be added to each operation. It may be good idea to store available tags in item list. .SH USAGE Type .B help to see available commands. Type .B help to see online help about particular . .P For most reporting commands, output can be piped to external shell command the same way, as shell do. .SH COMMANDS CONCERNING ITEMS .TP prod add [\-d] Add new item. Type in quotes, if it contain spaces. .RS .TP .B \-d - define this item as income (default to expence). .RE .TP prod rm Remove all items, which code starts with . This don't affect the operations list. .TP prod ls [] Show one level of item list - direct sublings of . Default to root level. .TP prod mv Update all item codes, which starts with , replacing it to . Item codes in operation list would be updated as well. .SH COMMANDS CONCERNING OPERATIONS .TP op add [\-d ] [\-a ] [-t ] [] Add new operation .RS .TP .B \-d - override default operation date to . .TP .B \-a - override default operation account to .TP .B \-t - label operation with . Any number of -t options can be used to add several tags to operation. .RE .TP op ls [-t ] [] Show list of operations in current reporting period. If specified, list would be limited by the operations, which item code starts with . If '-t ' option specified, limit output with operations, labelled with tag, starts with .SH COMMANDS CONCERNING REPORTING Reporting period is always between and global options, which You set by .B set command. .TP rep prod [-t ] [-a ] [] Show turnover report for items (item groups), which are direct subling of (default to root). Turnover for item group is summ of turnovers of all their nested items/groups. .RS .TP .B -t take into account only operations, labelled with tag, starts with .TP .B -a take into account only operations by account. .RE .TP rep acc Show remains and turnovers for all accounts. .SH OTHER COMMANDS .TP set