smithfarm / dochazka-cli

Dochazka CLI client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

INTERVAL FILLUP ambiguity between date and date_list #30

Closed smithfarm closed 8 years ago

smithfarm commented 8 years ago

I would like INTERVAL FILLUP 1-3 to mean a date_list consisting of the first three days of the prompt month. However, ATM it is ambiguous and the CLI interprets it as the single date 2016-01-03:

Dochazka(2016-01-25) active ACTIVE> interval fillup 1-3
Recognized command INTERVAL FILLUP _DATE
Entering App::Dochazka::CLI::Commands::Interval::interval_date
{
  'FILLUP' => 'fillup',
  '_DATE' => '1-3',
  '_REST' => '',
  'INTERVAL' => 'interval'
}
2 intervals added