Skip to content

Commit

Permalink
updated help
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalxl committed Dec 22, 2022
1 parent 9300828 commit 00bc9cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion lib/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 00bc9cd

Please sign in to comment.