update readme

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin 2022-04-15 10:41:17 -07:00
parent 29be8497fc
commit ff2e204569

View File

@ -12,14 +12,15 @@ A cli util for creating nostr events
## Usage ## Usage
usage: nostril [OPTIONS] <content> usage: nostril [OPTIONS] <content>
OPTIONS OPTIONS
--dm <hex pubkey> make an encrypted dm to said pubkey. sets kind and tags. --dm <hex pubkey> make an encrypted dm to said pubkey. sets kind and tags.
--envelope wrap in ["EVENT",...] for easy relaying --envelope wrap in ["EVENT",...] for easy relaying
--kind <number> set kind --kind <number> set kind
--created-at <unix timestamp> set a specific created-at time --created-at <unix timestamp> set a specific created-at time
--sec <hex seckey> set the secret key for signing, otherwise one will be randomly generated --sec <hex seckey> set the secret key for signing, otherwise one will be randomly generated
--pow <difficulty> number of leading 0 bits of the id to mine
## Examples ## Examples