Skip to content

Implement non-interactive edits#1462

Open
lukasl-dev wants to merge 1 commit intopimutils:masterfrom
lukasl-dev:master
Open

Implement non-interactive edits#1462
lukasl-dev wants to merge 1 commit intopimutils:masterfrom
lukasl-dev:master

Conversation

@lukasl-dev
Copy link

@lukasl-dev lukasl-dev commented Mar 22, 2026

Previously, khal only supported interactive edits. My commits adds the feature to specify edit flags, such as --summary and --description, to edit an event non-interactively (interesting for automated environments, such as cli, scripts, agents, etc.).

If none of the new edit flags is specified, khal runs in interactive mode as expected before my changes.

If there are multiple matches, the changes error by default. To change all matches, specify --all.

Updated command description:

Edit (or delete) events matching the search string.

When run without any of the edit flags (--summary, --description, etc.),
this command runs in interactive mode, allowing you to edit events one at a
time.

When run with edit flags, this command runs in non-interactive mode. If only
one event matches the search string, it is edited directly. If multiple
events match, the command will error out unless --all is used.

@lukasl-dev lukasl-dev marked this pull request as ready for review March 22, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant