"sync" => {
doc => "sync target(s) for existing LISTNAME",
arg => "[LISTNAME] [TARGET]",
- opt => { "cron" => \$opts{cron} }
+ opt => {
+ cron => \$opts{cron},
+ 'since=s' => \$opts{since},
+ 'after=s' => \$opts{since},
+ }
},
"cat" => {
doc => "show a message by Message-ID",
my ($dir, $targets) = @_;
my $git = Ssoma::Git->new($dir);
my $ex = Ssoma::Extractor->new($git);
+ my $since = $opts{since};
# no targets? sync all of them
if (scalar(@$targets) == 0) {
});
foreach my $target (@$targets) {
- $ex->extract($target);
+ $ex->extract($target, $since);
}
}