mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
update cmd
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
# Check if a lighthouse binary exists in the current branch.
|
# Check if a lighthouse binary exists in the current branch.
|
||||||
|
# -f means check if the file exists, to see all options, type "bash test" in a terminal
|
||||||
maxperf=./target/maxperf/lighthouse
|
maxperf=./target/maxperf/lighthouse
|
||||||
release=./target/release/lighthouse
|
release=./target/release/lighthouse
|
||||||
debug=./target/debug/lighthouse
|
debug=./target/debug/lighthouse
|
||||||
@@ -21,9 +22,29 @@ fi
|
|||||||
rm -f -- cli.txt
|
rm -f -- cli.txt
|
||||||
|
|
||||||
# Store all help strings in variables.
|
# Store all help strings in variables.
|
||||||
|
general=$($CMD --help)
|
||||||
|
|
||||||
|
# accoun manager
|
||||||
|
a=$($CMD a --help)
|
||||||
|
|
||||||
|
a_validator=$($CMD a validator --help)
|
||||||
|
a_validator_m=$($CMD a validator modify --help)
|
||||||
|
a_validator_s=$($CMD a validator slashing-protection --help)
|
||||||
|
|
||||||
|
a_wallet=$($CMD a wallet --help)
|
||||||
|
|
||||||
|
# beacon node
|
||||||
|
|
||||||
bn=$($CMD bn --help)
|
bn=$($CMD bn --help)
|
||||||
|
|
||||||
|
# boot-node
|
||||||
|
boot=$($CMD boot_node --help)
|
||||||
|
|
||||||
|
# data manager
|
||||||
|
dm=$($CMD db --help)
|
||||||
|
|
||||||
|
# validator client
|
||||||
vc=$($CMD vc --help)
|
vc=$($CMD vc --help)
|
||||||
wallet=$($CMD a wallet --help)
|
|
||||||
|
|
||||||
# Print all help strings to the cli.txt file.
|
# Print all help strings to the cli.txt file.
|
||||||
printf "%s\n\n" "$bn" "$vc" "$wallet" >> cli.txt
|
printf "%s\n\n" "$general" "$a" "$a_validator" "$a_validator_m" "$a_validator_s" "$a_wallet" "$bn" "$boot" "$dm" "$vc" "$wallet" >> cli.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user