feat: example with useful options

This commit is contained in:
Michele Cereda
2023-11-18 18:14:39 +01:00
parent cec7c72888
commit 5bc5326090

View File

@@ -22,16 +22,22 @@ gopass config
# Show specific configuration values only. # Show specific configuration values only.
gopass config 'core.autoclip' gopass config 'core.autoclip'
gopass config 'core.autopush' gopass config --store='foo' 'core.autopush'
# Update specific configuration values. # Update specific configuration values.
gopass config 'core.autoclip' false gopass config 'core.autoclip' false
gopass config 'core.autopush' false gopass config 'core.autopush' false
gopass config 'generate.generator' 'xkcd'
# Initiate the *root* store. # Initiate the *root* store.
gopass init gopass init
gopass init -p 'path/to/root/store' 'key-id' gopass init -p 'path/to/root/store' 'key-id'
# Generate passwords.
gopass pwgen
gopass pwgen -1 24
gopass pwgen -x -xl 'en'
# List entries. # List entries.
gopass list gopass list
@@ -43,6 +49,10 @@ gopass new
gopass insert 'path/to/secret' gopass insert 'path/to/secret'
gopass insert -m … gopass insert -m …
# Create new entries with generated passwords.
gopass generate 'path/to/secret'
gopass generate -g 'xkcd' --lang 'en' 'path/to/secret'
# Copy secrets' password to the clipboard. # Copy secrets' password to the clipboard.
# Do *not* print secrets out. # Do *not* print secrets out.
gopass show -c 'path/to/secret' gopass show -c 'path/to/secret'