Add --outfile option to solana-keygen

This commit is contained in:
Greg Fitzgerald
2018-07-12 16:29:49 -06:00
committed by Greg Fitzgerald
parent cea29ed772
commit 97372b8e63
5 changed files with 33 additions and 5 deletions

View File

@ -23,7 +23,7 @@ fi
client_json="$SOLANA_CONFIG_CLIENT_DIR"/client.json
if [[ ! -r $client_json ]]; then
$solana_keygen > "$client_json"
$solana_keygen -o "$client_json"
fi
# shellcheck disable=SC2086 # $solana_client_demo should not be quoted