#!/usr/local/src/gridfire/keepassxc_cmd2/keepassxc_cmd2.py
# -*- mode: sh; tab-width: 8; encoding: utf-8-unix -*-

set debug true

shell rm -f /var/tmp/test4.xml
shell cp /var/tmp/test4.kdbx  /var/tmp/kpy4.kdbx 

get_kdbx /var/tmp/kpy4.kdbx
get_keyfile /var/tmp/test4.key
get_pass password

qdbus help

shell echo password | /var/local/bin/keepassxc.bash --pw-stdin --keyfile /var/tmp/test4.key /var/tmp/kpy4.kdbx &

kpy eval 1+1
kpy eval [ x for x in dir(oKP) if not x.startswith('_')]

qdbus exit

# set sPassword
set sKeyfile
set sKdbx

#help cli
#help kpy
qdbus help
