erigontech / erigontech/erigon

feat: output sample config

Open
#10,450 1 comment 0 reactions 0 assignees View on GitHub
UX
Dominant language
Go
Stars
3.6k
Forks
1.5k
Avg merge
1d 16h
Merged PRs (30d)
455

Description

# Rationale

erigon supports a lot of options, and editing a commented out config, enabling what you need, might be a bit easier on the user than constantly referencing the help page.

i suggest we add a command that outputs a sample config in any format erigon supports (yaml, toml).

# Implementation

i made a sample script here that converts the `--help` command to a yaml config. https://gist.github.com/banteg/9427a4830be5a55f821064cdb02220d1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.