Port solana-drone to clap crate for CLI arguments

This commit is contained in:
Tyera Eulberg
2018-07-04 14:23:25 -06:00
committed by Greg Fitzgerald
parent 687af3e3a4
commit 8ec2fe15f3
2 changed files with 63 additions and 71 deletions

View File

@ -38,4 +38,4 @@ $rsync -vPz "$rsync_leader_url"/config/leader.json "$SOLANA_CONFIG_DIR"/
# shellcheck disable=SC2086 # $solana_drone should not be quoted
exec $solana_drone \
-l "$SOLANA_CONFIG_DIR"/leader.json < "$SOLANA_CONFIG_PRIVATE_DIR"/mint.json
-l "$SOLANA_CONFIG_DIR"/leader.json -m "$SOLANA_CONFIG_PRIVATE_DIR"/mint.json