.\" Manpage for Ylva. .\" Any errors or typos, contact niko@byteptr.com. .TH man 1 "11 Sep 2021" "1.7" "ylva man page" .SH NAME ylva \- command line password manager .SH SYNOPSIS ylva [FLAGS] .SH DESCRIPTION Ylva is a command line password manager program for Unix-like operating systems. .SH OPTIONS .IP "-i, --init " Initialize new database .IP "-E, --encrypt" Encrypt current database .IP "-D, --decrypt " Decrypt database .IP "-c, --copy " Copy an entry to a new entry .IP "-a, --add" Add new entry .IP "-p, --show-db-path" Show current database path .IP "-u, --use-db " Switch using another database .IP "-r, --remove " Remove entry pointed by id .IP "-f, --find " Search for entries .IP "-F, --regex " Search for entries with regular expressions .IP "-e, --edit " Edit entry pointed by id .IP "-l, --list-entry " List entry pointed by id .IP "-t, --show-latest [count]" Show latest entries, parameter count is optional. .IP "-A, --list-all" Show database statuses .IP "-v, --version" Show program version .IP "-g, --gen-password " Generate password .IP "-q, --quick " This is the same as running --show-passwords -f .IP "-h, --help" Show short help and exit .SH FLAGS .IP "--auto-encrypt" Automatically encrypt after exit .IP "--show-passwords" Show passwords in listings .IP "--show-qrcode" Show data as QR code in --list-entry .IP "--force" --force only works with --init option .SH EXAMPLES Create a new database: ylva --init "/path/to/file.db" .PP Open and decrypt database: ylva --decrypt "/path/to/existing/file.db" .PP Close and encrypt database: ylva --encrypt Ylva knows what database is currently active and encrypts it. Encrypting will ask you to type a master passphrase which is used for encryption. .PP Add an entry to an open database: ylva --add .PP If you want to export all entries to a file: ylva --show-passwords -A > file.txt .PP To show latest 10 entries: ylva --show-latest 10 .PP To show all entries ordered by date ylva --show-latest .SH COLORS Ylva supports colored output. To use colors, set an environment variable YLVA_COLOR with one of the following value: BLUE, RED, GREEN, YELLOW, MAGENTA, CYAN or WHITE. .SH DEFAULT USERNAME Ylva supports settings default username for entries. To enable it, set an environment variable YLVA_DEFAULT_USERNAME value to the wanted default. If you want Ylva to default to an empty username define YLVA_DEFAULT_USERNAME, but leave it empty. .SH NOTES Ylva does not have a concept of "change the master password". When you encrypt an open database using --encrypt you can type a master password. This password is then required to decrypt the database. You can change the master password every time when you encrypt the database, if you want to. .SH FILES .I $HOME/.ylva.lock .SH AUTHORS Written by Niko Rosvall. .SH COPYRIGHT Copyright (C) 2019-2021 Niko Rosvall .PP Released under MIT license.