Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 committed Sep 7, 2023
1 parent fc3b412 commit c5dded6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/hubble/scripts/clidocs.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = function clidocs() {
const docFileName = "www/docs/docs/cli.md";

try {
// Step 1: Get the list of all options from the CLI
const helpOutput = execSync("node --no-warnings build/cli.js start --help").toString();

const optionNames = [];
Expand Down
3 changes: 2 additions & 1 deletion apps/hubble/www/docs/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Start a Hub
Hubble Options:
-n --network <network> ID of the Farcaster Network (default: 3 (devnet))
-i, --id <filepath> Path to the PeerId file.
--hub-operator-fid The FID of the hub operator. Optional.
--hub-operator-fid <fid> The FID of the hub operator. Optional.
-c, --config <filepath> Path to the config file.
--db-name <name> The name of the RocksDB instance. (default: rocks.hub._default)
--admin-server-enabled Enable the admin server. (default: disabled)
Expand Down Expand Up @@ -57,6 +57,7 @@ Snapshots Options:
--enable-snapshot-to-s3 Enable daily snapshots to be uploaded to S3. (default: disabled)
--s3-snapshot-bucket <bucket> The S3 bucket to upload snapshots to
--disable-snapshot-sync Disable syncing from snapshots. (default: enabled)
Metrics:
--statsd-metrics-server <host> The host to send statsd metrics to, eg "127.0.0.1:8125". (default: disabled)
Expand Down

0 comments on commit c5dded6

Please sign in to comment.