man(1)

✨ NAME ✨

ylva β€” a command line password manager πŸ’– (and yes bestie, this is the man(1) page for it, we're in the manual section for general commands, slay)


🌸 SYNOPSIS 🌸

ylva [FLAGS] <OPTIONS>

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so Ylva is a command line password manager program for Unix-like operating systems. That's it, that's the vibe. Your lil terminal bestie holding all your secrets 🫢


πŸ’… OPTIONS πŸ’…

  • -i, --init <path> β€” Initialize new database ✨ (give it a path, bestie)
  • -E, --encrypt β€” Encrypt current database πŸ”’
  • -D, --decrypt <path> β€” Decrypt database
  • -c, --copy <id> β€” Copy an entry to a new entry (dupe it, but make it fashion)
  • -a, --add β€” Add new entry βž•
  • -p, --show-db-path β€” Show current database path
  • -u, --use-db <path> β€” Switch using another database (database hop, we love a switch-up)
  • -r, --remove <id> β€” Remove entry pointed by id πŸ’€
  • -f, --find <search> β€” Search for entries πŸ”
  • -F, --regex <search> β€” Search for entries with regular expressions (for the regex girlies πŸ‘‘)
  • -e, --edit <id> β€” Edit entry pointed by id ✏️
  • -l, --list-entry <id> β€” List entry pointed by id
  • -t, --show-latest [count] β€” Show latest entries, parameter count is optional.
  • -A, --list-all β€” Show database statuses
  • -v, --version β€” Show program version
  • -g, --gen-password <length> β€” Generate password πŸŽ€ (give it a length, it does the rest)
  • -q, --quick <search> β€” This is the same as running --show-passwords -f (the shortcut queen, no cap)
  • -h, --help β€” Show short help and exit

🌈 FLAGS 🌈

  • --auto-encrypt β€” Automatically encrypt after exit πŸ” (set it and forget it, main character energy)
  • --show-passwords β€” Show passwords in listings πŸ™ˆ
  • --show-qrcode β€” Show data as QR code in --list-entry
  • --force β€” --force only works with --init option (fr fr, don't try it anywhere else)

⭐ EXAMPLES ⭐

Create a new database:

ylva --init "/path/to/file.db"

Open and decrypt database:

ylva --decrypt "/path/to/existing/file.db"

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.

Add an entry to an open database:

ylva --add

If you want to export all entries to a file:

ylva --show-passwords -A > file.txt

To show latest 10 entries:

ylva --show-latest 10

To show all entries ordered by date

ylva --show-latest

πŸŽ€ COLORS πŸŽ€

Ylva supports colored output, because obviously πŸ’… To use colors, set an environment variable YLVA_COLOR with one of the following value: BLUE, RED, GREEN, YELLOW, MAGENTA, CYAN or WHITE.

Heads up: it's a single value, pick one, don't be greedy.

🧚 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. (Empty but defined, bestie β€” that distinction is doing heavy lifting here.)


πŸ’œ 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.

Lowkey important: that's the whole trick. No fancy "change password" button, you just pick a new one next time you encrypt. iykyk.

πŸ“ FILES πŸ“

$HOME/.ylva.lock


πŸ‘‘ AUTHORS πŸ‘‘

Written by Niko Rosvall.


Copyright (C) 2019-2021 Niko Rosvall <niko@byteptr.com>

Released under MIT license.


And that's a wrap on version <b>1.7</b>, dated <b>11 Sep 2021</b>, from the <b>man(1)</b> manual section β€” go forth and password-manage, bestie, you ate πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from