lib/sym/app/commands/show_examples.rb in sym-2.0.2 vs lib/sym/app/commands/show_examples.rb in sym-2.0.3

- old
+ new

@@ -13,12 +13,12 @@ output << example(comment: 'generate a new private key into an environment variable:', command: 'export KEY=$(sym -g)', echo: 'echo $KEY', result: '75ngenJpB6zL47/8Wo7Ne6JN1pnOsqNEcIqblItpfg4='.green) - output << example(comment: 'generate a new password-protected key, copy to the clipboard & save to a file', - command: 'sym -gpc -o ~/.key', + output << example(comment: 'generate a new password-protected key & save to a file', + command: 'sym -gp -o ~/.key', echo: 'New Password : ' + '••••••••••'.green, result: 'Confirm Password : ' + '••••••••••'.green) output << example(comment: 'encrypt a plain text string with a key, and save the output to a file', command: 'sym -e -s ' + '"secret string"'.bold.yellow + ' -k $KEY -o file.enc', @@ -33,10 +33,10 @@ command: 'sym -e -f sym.yml -o sym.enc -k $KEY') output << example(comment: 'decrypt an encrypted file and print it to STDOUT:', command: 'sym -df sym.enc -k $KEY') - output << example(comment: 'edit an encrypted file in $EDITOR, ask for key, create a backup', + output << example(comment: 'edit an encrypted file in $EDITOR, ask for key, create file backup', command: 'sym -tibf ecrets.enc', result: ' Private Key: •••••••••••••••••••••••••••••••••••••••••••• Saved encrypted content to sym.enc.