Skip to content

Add command autocompletion to the interactive CLI #4676

@cizmazia

Description

@cizmazia

Summary

Provide bash/zsh-like completion in the interactive CLI

Examples

Open the interactive CLI.

keepassxc cli open ~/p.kdbx
p>

Use the TAB key to complete words. A menu shall be displayed when there are multiple options.

  • p> sh<TAB> completes to p> show
  • p> show -<TAB> provides a menu of options
  • p> show my<TAB> provides a menu of items returned by located my

Context

Autocompletion is vital for command line interfaces.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions