I like to use multiple different databases to store secure passwords
in part because there are enough of them that I like separating random
sites from work sites, etc.
This is possible to do with the environment variables, but it's
awkward to set them for a single invocation of the command. That in
turn means that I am using shell functions like:
# Run assword with a particular database.
assword-db () {
local db="$1"
shift
ASSWORD_DB="$db" assword "$@"
}
It would be nice to have a simple -f command-line option to specify
the database file, similar to other commands.