Making changes to an entry without editing for use in a script
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 233
- Avg merge
- 1h 44m
- Merged PRs (30d)
- 1
Description
Hi,
I'ld like to have the option to change or add attributes to entries using commands.
Currently I can make changes using the edit command, but editing is interactive. I'm using Taskwarrior too. Taskwarrior supports the use in scripts. You can add, remove and change attributes for a task in a non-interactive manner. This is a very neat feature of Taskwarrior.
If this could be possible too in Khal, it would make my work much easier.
An example. I want to add references to notes in my file system to both calendar items in Khal and tasks in Taskwarrior. I then need at least a marker that notes are available, possibly with a reference to the name of the file, so a command like
$ khal modify [uid] --add-category "HasNotes.xyz"
could be used in a script to add a reference to a file with notes. Currently I can only add a category using the interactive edit command.
Thanks, Fred
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating Khal's existing interactive edit command and its command-line entry point, then compare the requested behavior with Taskwarrior's scripted attribute changes. Done means a non-interactive command can add, remove, and change entry attributes, including adding a category for the proposed notes reference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100