update readme

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin 2022-04-14 19:46:40 -07:00
parent 7cd4e8c188
commit 8b18703334

View File

@ -9,6 +9,18 @@ A cli util for creating nostr events
`libsecp256k1` is the only dependency `libsecp256k1` is the only dependency
## Usage
usage: nostril [OPTIONS] <content>
OPTIONS
--dm <hex pubkey> make an encrypted dm to said pubkey. sets kind and tags.
--envelope wrap in ["EVENT",...] for easy relaying
--kind <number> set kind
--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
## Examples ## Examples
Generate an event: Generate an event: