Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.16 KB

design.org

File metadata and controls

40 lines (28 loc) · 1.16 KB

Keysend

TODOs

Read from stdin (maybe use a flag?)

Add sending to individual people

CLI commands

keysend [keybase_username] [-cd] [-C channel || -u slack_username] [-f outfile_name] [file … || message ]

keysend tmd -c -C=”#devchat” hello.txt start.txt

keysend tmd “taco”

Flags

  • -d Decrypt
    • Sets keysend up to decrypt a file.
  • -C=<channel>
    • Specify which channel you want the keybase message sent to. Defaults to ‘#general’.
  • -u=<username>
    • Specify the user you want to send the encrypted file to. This cannot be use in conjunction with channel. If both are specified then it will throw an error.
  • -f=<filename>
    • Specify the name of the encrypted file to send over. Defaults to “message.zip.encrypted”. If the -d flag is used then this specifies the filename to be decrytped

Future ideas

  • config.yml file that specifies slack api token, default channel to post to, etc