DESCRIPTION
Provides utility functions for initializing the SQLite database and configuration files.
FUNCTIONS
InitDB
Finance::Tiller2QIF::Util::InitDB( $db_path );
Create a new SQLite database at $db_path with the transactions table schema. Dies if unable to create the database.
InitConfig
Finance::Tiller2QIF::Util::InitConfig( $config_path );
Create a starter JSON configuration file at $config_path with commented examples of all available options. Dies if unable to write the file.
CheckConfig
Finance::Tiller2QIF::Util::CheckConfig( %options );
Prints the current merged option values to STDOUT and checks that referenced files exist and are readable/writable. Called automatically when --verbose is set or when the checkconfig command is used.
vPrint
vPrint( $verbose, @messages );
Prints each message in @messages to STDOUT only when $verbose is true. Exported on request; used internally by other Finance::Tiller2QIF modules.
AUTHOR
John Karr <brainbuz@cpan.org>
LICENSE
GPL version 3 or later.