updated help

This commit is contained in:
Vishal 2022-12-22 07:13:54 +05:30
parent 9300828945
commit 00bc9cdbba
3 changed files with 5 additions and 3 deletions

View File

@ -67,7 +67,8 @@ usage: dart run bin/nostr_console.dart [OPTIONS]
public key derived from a well known private key. When given, posts/replies can't be sent.
-k, --prikey <private key> The hex private key of user whose events and feed are shown. Also used to sign events
sent. Default is same-as-above hard-coded well known private key.
-r, --relay <relay wss url> The comma separated relay urls that are used as main relay. Default is wss://nostr-relay.untethr.me.
-r, --relay <relay urls> The comma separated relay urls that are used as main relays. If given, these are used
rather than the default relays.
-d, --days <N as num> The latest number of days for which events are shown. Default is 1.
-q, --request <REQ string> This request is sent verbatim to the default relay. It can be used to receive all events
from a relay. If not provided, then events for default or given user are shown.

View File

@ -274,7 +274,8 @@ usage: $exename [OPTIONS]
well known private key. When given, posts/replies can't be sent.
-k, --prikey <private key> The hex private key of user whose events and feed are shown. Also used to sign events
sent. Default is a hard-coded well known private key.
-r, --relay <relay wss url> The comma separated relay urls that are used as main relay. Default is wss://relay.damus.io.
-r, --relay <relay urls> The comma separated relay urls that are used as main relays. If given, these are used
rather than the default relays.
-d, --days <N as num> The latest number of days for which events are shown. Default is $gDefaultNumLastDays.
-q, --request <REQ string> This request is sent verbatim to the default relay. It can be used to recieve all events
from a relay. If not provided, then events for default or given user are shown.

View File

@ -6,7 +6,7 @@ homepage: https://github.com/vishalxl/nostr_console
# improved relay, fetching logic and added more default pubkeys to fetch
# incresed user id lenth to 5, and event id len to 6 in SN
environment:
sdk: '>=2.17.3 <3.0.0'