Relocate *-help.sh to their respective packages
This commit is contained in:
21
wallet/wallet-help.sh
Executable file
21
wallet/wallet-help.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
cd "$(dirname "$0")"/..
|
||||
|
||||
cargo build --package solana-wallet
|
||||
export PATH=$PWD/target/debug:$PATH
|
||||
|
||||
echo "\`\`\`manpage"
|
||||
solana-wallet --help
|
||||
echo "\`\`\`"
|
||||
echo ""
|
||||
|
||||
commands=(address airdrop balance cancel confirm deploy get-transaction-count pay send-signature send-timestamp)
|
||||
|
||||
for x in "${commands[@]}"; do
|
||||
echo "\`\`\`manpage"
|
||||
solana-wallet "${x}" --help
|
||||
echo "\`\`\`"
|
||||
echo ""
|
||||
done
|
Reference in New Issue
Block a user