|
Perl commands
accounts.pl:
init_trans
returns: ok
initialize the transaction list
make_acct [key] [file] [desc]
returns: ok
create an account file, adding appropriate entries to the group and
category lists. (args are tab separated).
find_group [filename]
returns: error, none, ok
find the group entry for the given file.
check_cats
returns: error, ok
perform consistency checking between transaction list and
categories
list_missing_cats
returns: list of missing values, ending in 'none'
list missing categories
load_trans [filename]
returns: error, ok
load in transactions from a file or from the cache, if used. calls
load_cbb_trans if loaded from a file.
load_cbb_trans [filename]
returns: error, ok
load in the transaction list, performs a minor consistency check
with calc_trans
save_trans [filename]
returns: ok, error
write the transactions to a file, making a backup and removing the
auto-save file.
categories.pl:
init_cats
returns: ok
initialize the category list
sort_catkeys
returns:
sort the category hash keys.
edit_cat [key] [desc] [tax]
returns: input line
alter the category entry for the given key
insert_cat [key] [desc] [tax]
returns: input line
create the category entry with the given key
delete_cat [key] [desc] [tax]
returns: input line
delete the category for the given key
find_cat [N] [key]
returns: 2 lines:
[keyword] [match] [match] ...
VALUE [Nth match]
find all categories which match the key, which may be an incomplete
word. the keyword defines what kind of matches were found: NONE,
EXACT, PARTIAL, UNIQUE, COMPLETE.
all_cats
returns: list of current categories, ending with 'none'
format is same as the entries in the file
check_cats_accounts
returns: ok, error
performs consistency checking on the categories and the accounts
listed in the group file.
list_missing_accounts
returns: list of missing accounts, ending with 'none'
def_cats
returns: filename, error
returns the currently defined category file
load_cats [filename]
returns: ok, error
loads the category list from the given file
save_cats [filename]
returns: ok, error
saves the category list to the given file
make_cats [filename]
returns: ok, error
initializes the categories and creates a new file with the correct format
common.pl:
pad
file_dirname
file_basename
file_root
file_extension
nice_date
raw_date
start_date
century
engine.pl:
debug
get_next_key
CheckTrans
SetupForArg
CompareTrans
GetFields
ChangeKey
CompareCheckNums
sort_keys
calc_trans
create_trans
create_xfer
update_trans
update_xfer
delete_trans
delete_xfer
next_trans
find_trans
get_current_index
first_trans
all_trans
part_trans
first_uncleared_trans
next_uncleared_trans
select_trans
unselect_trans
clear_trans
get_cleared_bal
init_trans
fix_splits
load_dbm_trans
cache
encrypt
decrypt
duplicate
compare
logging
quit
export.pl:
save_cbb
export_qif
file.pl:
get_files
groups.pl:
init_accts
sort_accts
edit_acct
add_acct
delete_acct
all_accts
find_acct
load_accts
save_accts
make_group
import.pl:
load_cbb
import_qif
import_cbb8
OSsource
log.pl:
log_txn
log_fmt_date
memorized.pl:
init_mems
insert_mem
insert_and_update_mem
rehash_mems
find_mem
newwrap.pl:
main_loop
process_rep_args
|