go-ethereum/docs/cli
Pratik Patil 71980bf5b1
internal/cli: use config file for flags in new-cli, builder/files: update defaults (#457)
* updated simple.json and simple.hcl

* added annotations for developer and grpc block

* added toml tags and simple.toml file

* added support for toml config files

* updated simple files toml, hcl, json

* added config.toml in builder/files and updated bor.service

* add dumpconfig command in cli for exporting configs

* update docs

* updated .goreleaser.yml (POS-651)

* changed --config to -config

* added test config for tests and fixed lint errors

* made fields of type big.int and time.Duration private, removed merge from dumpconfig, setting up default values to the Raw fields in dumpconfig, and fixed one lint error

* fixed lint errors (strange)

* lint fix

* private no-more, using '-' in name tags to ignore

* updated name tags, made c.configFile as a stringFlag (only one config file supported) and updated the merge logic in command.go -> Run()

* fix: set method for big.Int flags, added a TODO

* handeled bigInt and timeDuration type, bug fix in config_legacy, lint fix

* updated flags, consistent across flags.go and config.go

* fixed config test and updated test hcl, json config files

* updated config legacy test

* added test to check values of cmd flags, restructured Run in command.go, linter fix

* fix linters

* lint again

* changed 2 flags and assert -> require

* changed the 2 flags back

* updated correct congig.toml path and made mainnet default

* updated config.toml with new flags

* added sample config (toml) file

* removed sample-config.toml and added it in docs/config.md

Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
2022-07-27 12:28:26 +05:30
..
account.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
account_import.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
account_list.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
account_new.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
attach.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
bootnode.md Rename whitelist to requiredblocks 2022-05-17 17:08:41 -07:00
chain.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
chain_sethead.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
chain_watch.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
debug.md internal/cli: add block tracing (#397) 2022-06-06 14:54:05 +05:30
debug_block.md internal/cli: add block tracing (#397) 2022-06-06 14:54:05 +05:30
debug_pprof.md internal/cli: add block tracing (#397) 2022-06-06 14:54:05 +05:30
dumpconfig.md internal/cli: use config file for flags in new-cli, builder/files: update defaults (#457) 2022-07-27 12:28:26 +05:30
fingerprint.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
peers.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
peers_add.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
peers_list.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
peers_remove.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
peers_status.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
README.md internal/cli: use config file for flags in new-cli, builder/files: update defaults (#457) 2022-07-27 12:28:26 +05:30
server.md Change diverged flags back to Geth's convention (POS-602) (#451) 2022-07-14 22:36:18 +05:30
status.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
version.md Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00