Config - defaults

- Config is now providing a default set of all configuration variables.
- The default set is used to both initialize a Config object, and to
  create a sample .taskrc.
This commit is contained in:
Paul Beckingham 2010-01-15 02:50:46 -05:00
parent 0002376f2a
commit 0faf7fa8ee
12 changed files with 298 additions and 396 deletions

View file

@ -34,6 +34,7 @@ use Test::More tests => 17;
if (open my $fh, '>', 'delete.rc')
{
print $fh "data.location=.\n",
"confirmation=no\n",
"echo.command=no\n";
close $fh;
ok (-r 'delete.rc', 'Created delete.rc');