From 438a6ca922e887d5cd638760683f8f251bd05d32 Mon Sep 17 00:00:00 2001 From: Charles Morin Date: Wed, 5 Jul 2023 15:58:43 -0400 Subject: [PATCH] Updated readme --- README.md | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 356be72..eb14d70 100644 --- a/README.md +++ b/README.md @@ -35,32 +35,24 @@ npm install substreams-sink ```bash Usage: substreams-sink run [options] -Substreams Sink +Substreams sink module Options: -e --substreams-endpoint Substreams gRPC endpoint to stream data from --manifest URL of Substreams package - --module_name Name of the output module (declared in the manifest) - -s --start-block Start block to stream from (defaults to -1, which - means the initialBlock of the first module you are - streaming) + --module-name Name of the output module (declared in the manifest) + -s --start-block Start block to stream from (defaults to -1, which means the initialBlock of the first module you are streaming) -t --stop-block Stop block to end stream at, inclusively - -p, --params Set a params for parameterizable modules. Can be - specified multiple times. (ex: -p module1=valA -p - module2=valX&valY) + -p, --params Set a params for parameterizable modules. Can be specified multiple times. (ex: -p module1=valA -p module2=valX&valY) --substreams-api-token API token for the substream endpoint - --substreams-api-token-envvar Environnement variable name of the API token for the - substream endpoint (ex: SUBSTREAMS_API_TOKEN) - --delay-before-start [OPERATOR] Amount of time in milliseconds (ms) to wait - before starting any internal processes, can be used to - perform to maintenance on the pod before actually - letting it starts + --substreams-api-token-envvar Environnement variable name of the API token for the substream endpoint (ex: SUBSTREAMS_API_TOKEN) + --delay-before-start [OPERATOR] Amount of time in milliseconds (ms) to wait before starting any internal processes, can be used to perform to maintenance on the pod before actually letting it starts --cursor-file cursor lock file (ex: cursor.lock) - --disable-production-mode Disable production mode, allows debugging modules - logs, stops high-speed parallel processing + --disable-production-mode Disable production mode, allows debugging modules logs, stops high-speed parallel processing + --restart-inactivity-seconds If set, the sink will restart when inactive for over a certain amount of seconds (ex: 60) + --hostname The process will listen on this hostname for any HTTP and Prometheus metrics requests (ex: localhost) + --port The process will listen on this port for any HTTP and Prometheus metrics requests (ex: 9102) --verbose Enable verbose logging - --restart-inactivity-seconds If set, the sink will restart when inactive for over a - certain amount of seconds (ex: 60) -h, --help display help for command ```