kpcli
KeePass Command Line Interface
KeePass Command Line Interface (CLI) / interactive shell.
Use kpcli to access and manage your KeePass databases from a Unix-like command line.
It supports all version 1.x (*.kdb) and 2.x (*.kdbx) prior to the KDBX 4.0 update.