chore: improved tl;dr for gopass

This commit is contained in:
Michele Cereda
2023-04-01 17:32:42 +02:00
parent 22b815b3dd
commit 2355e86ee6
2 changed files with 38 additions and 3 deletions

View File

@@ -33,6 +33,7 @@
"flatpak",
"gcloud",
"getfacl",
"gopass",
"gpgconf",
"gpgtools",
"growpart",

View File

@@ -3,11 +3,45 @@
## TL;DR
```sh
# Initiate the root store.
gopass init
gopass init -p 'path/to/root/store'
# multistore init
gopass init --store private --path ~/.password-store.private
gopass init --store work --path ~/.password-store.work
# Insert new entries.
gopass insert 'path/to/secret'
gopass insert 'path/to/secret' -m
# Edit new or existing secrets.
gopass edit 'path/to/secret'
gopass set 'path/to/secret'
# Delete entries.
gopass delete 'path/to/secret'
gopass remove 'path/to/secret'
gopass rm 'path/to/secret'
# List mounted stores.
gopass mounts
# Add (a.k.a mount) existing stores in multi store mode.
gopass mounts add 'archive' '.password-store.archive'
gopass mounts mount 'test' '.password-store.test'
# Create and mount stores.
gopass init --store 'private' --path '.password-store.private'
gopass init --store 'work' --path '.password-store.work'
# Remove (a.k.a unmount) stores.
gopass mounts remove 'test' '.password-store.test'
gopass mounts rm 'test' '.password-store.test'
gopass mounts unmount 'archive' '.password-store.archive'
gopass mounts umount 'archive' '.password-store.archive'
# Reset gopass' configuration.
rm "${HOME}/.config/gopass/config"
# Remove gopass' default root store.
rm -r "${HOME}/.local/share/gopass/stores/root"
```
## Browsers integration