pimutils / pimutils/khal

Feature request: make at command more intelligent

Open
#332 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted type: enhancement
Dominant language
Python
Stars
3.1k
Forks
233
Avg merge
1h 44m
Merged PRs (30d)
1

Description

Hi,

The current at command is relatively strict in what it accepts as a parameter. I think it would be nice if it could accept things like this - maybe with a new command "on":

khal on 11 - where it guesses the day is the 11th
khal on tomorrow - self-explanatory
khal on tomorrow+1, +2, +3, - day after tomorrow, day after that, etc.

Or maybe also:

khal in mar - show events in March etc.

I realise creating this software means a lot of work for the developer - so, first of all, many thanks for doing this. It really helps me in day-to-day's work. Second, I am happy to take a stab at this myself soonish if you're OK with it?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating khal's existing at command entry point and reviewing how the proposed on and in forms would fit its current parameter handling. Before implementation, clarify the supported date expressions and expected behavior; done would require agreed syntax and coverage for examples such as tomorrow offsets and month queries.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.