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

@@ -33,7 +33,8 @@ use Test::More tests => 7;
# Create the rc file.
if (open my $fh, '>', 'basic.rc')
{
print $fh "data.location=.\n";
print $fh "data.location=.\n",
"default.command=\n";
close $fh;
ok (-r 'basic.rc', 'Created basic.rc');
}