Logo
Explore Help
Sign In
gaspersic/solana
1
0
Fork 0
You've already forked solana
Code Issues Pull Requests Projects Releases Wiki Activity
solana/wallet/wallet-help.sh

22 lines
427 B
Bash
Raw Normal View History

codemod --extensions sh '#!/usr/bin/env bash -e' '#!/usr/bin/env bash\nset -e'
2018-11-11 08:19:04 -08:00
#!/usr/bin/env bash
set -e
Add the solana-wallet documentation (#1744) * Add the solana-wallet documentation There doesn't seem to be a way to publish bin docs to crates.io. Until there is, we can include CLI documentation is the appendix of the markdown book. * A command to generate all the usage docs Usage: $ scripts/wallet-help.sh >> src/wallet.md
2018-11-08 15:42:20 -07:00
cd "$(dirname "$0")"/..
Relocate *-help.sh to their respective packages
2019-03-20 14:34:57 -07:00
cargo build --package solana-wallet
Add the solana-wallet documentation (#1744) * Add the solana-wallet documentation There doesn't seem to be a way to publish bin docs to crates.io. Until there is, we can include CLI documentation is the appendix of the markdown book. * A command to generate all the usage docs Usage: $ scripts/wallet-help.sh >> src/wallet.md
2018-11-08 15:42:20 -07:00
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 Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 232ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API