mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
make help a seperate command
This commit is contained in:
@@ -307,7 +307,7 @@ else
|
|||||||
echo "For setup logs: cat raspiblitz.log"
|
echo "For setup logs: cat raspiblitz.log"
|
||||||
echo "or call the command 'debug' to see bigger report."
|
echo "or call the command 'debug' to see bigger report."
|
||||||
fi
|
fi
|
||||||
echo "Blitz command line options: blitz help"
|
echo "Blitz command line options: blitzhelp"
|
||||||
echo "Back to menus use command: raspiblitz"
|
echo "Back to menus use command: raspiblitz"
|
||||||
echo
|
echo
|
||||||
exit 0
|
exit 0
|
||||||
|
@@ -7,62 +7,61 @@ fi
|
|||||||
|
|
||||||
# SHORTCUT COMMANDS you can call as user 'admin' from terminal
|
# SHORTCUT COMMANDS you can call as user 'admin' from terminal
|
||||||
|
|
||||||
|
function blitz() {
|
||||||
|
cd /home/admin
|
||||||
|
./00raspiblitz.sh
|
||||||
|
}
|
||||||
|
|
||||||
# command: blitz
|
# command: blitz
|
||||||
# calls the the raspiblitz mainmenu (shortcut)
|
# calls the the raspiblitz mainmenu (shortcut)
|
||||||
function blitz() {
|
function blitzhelp() {
|
||||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ] || [ "$1" = "--help" ] || [ "$1" = "help" ] ; then
|
echo
|
||||||
echo "_commands.sh"
|
echo "Blitz commands are consolidated here."
|
||||||
echo "Usage: command [options]"
|
echo
|
||||||
echo
|
echo "Menu access:"
|
||||||
echo "Blitz commands are consolidated here."
|
echo " raspiblitz menu"
|
||||||
echo
|
echo " menu menu"
|
||||||
echo "Menu access:"
|
echo " bash menu"
|
||||||
echo " raspiblitz menu"
|
echo " repair menu > repair"
|
||||||
echo " menu menu"
|
echo
|
||||||
echo " bash menu"
|
echo "Checks:"
|
||||||
echo " repair menu > repair"
|
echo " status informational Blitz status screen"
|
||||||
echo
|
echo " sourcemode copy blockchain source modus"
|
||||||
echo "Checks:"
|
echo " check check if Blitz configuration files are correct"
|
||||||
echo " status informational Blitz status screen"
|
echo " debug print debug logs"
|
||||||
echo " sourcemode copy blockchain source modus"
|
echo " debug -l print debug logs with bin link"
|
||||||
echo " check check if Blitz configuration files are correct"
|
echo " patch sync scripts with latest set github and branch"
|
||||||
echo " debug print debug logs"
|
echo " github jumping directly into the options to change branch/repo/pr"
|
||||||
echo " debug -l print debug logs with bin link"
|
echo
|
||||||
echo " patch sync scripts with latest set github and branch"
|
echo "Power:"
|
||||||
echo " github jumping directly into the options to change branch/repo/pr"
|
echo " restart restart the node"
|
||||||
echo
|
echo " off shutdown the node"
|
||||||
echo "Power:"
|
echo
|
||||||
echo " restart restart the node"
|
echo "Display:"
|
||||||
echo " off shutdown the node"
|
echo " hdmi switch video output to HDMI"
|
||||||
echo
|
echo " lcd switch video output to LCD"
|
||||||
echo "Display:"
|
echo " headless switch video output to HEADLESS"
|
||||||
echo " hdmi switch video output to HDMI"
|
echo
|
||||||
echo " lcd switch video output to LCD"
|
echo "BTC tx:"
|
||||||
echo " headless switch video output to HEADLESS"
|
echo " torthistx broadcast transaction through Tor to Blockstreams API and into the network"
|
||||||
echo
|
echo " gettx retrieve transaction from mempool or blockchain and print as JSON"
|
||||||
echo "BTC tx:"
|
echo " watchtx retrieve transaction from mempool or blockchain until certain confirmation target"
|
||||||
echo " torthistx broadcast transaction through Tor to Blockstreams API and into the network"
|
echo
|
||||||
echo " gettx retrieve transaction from mempool or blockchain and print as JSON"
|
echo "LND:"
|
||||||
echo " watchtx retrieve transaction from mempool or blockchain until certain confirmation target"
|
echo " balance your satoshi balance"
|
||||||
echo
|
echo " channels your lightning channels"
|
||||||
echo "LND:"
|
echo " fwdreport show forwarding report"
|
||||||
echo " balance your satoshi balance"
|
echo
|
||||||
echo " channels your lightning channels"
|
echo "Users:"
|
||||||
echo " fwdreport show forwarding report"
|
echo " bos Balance of Satoshis"
|
||||||
echo
|
echo " chantools ChanTools"
|
||||||
echo "Users:"
|
echo " lit Lightning Terminal"
|
||||||
echo " bos Balance of Satoshis"
|
echo " jm JoinMarket"
|
||||||
echo " chantools ChanTools"
|
echo " pyblock PyBlock"
|
||||||
echo " lit Lightning Terminal"
|
echo
|
||||||
echo " jm JoinMarket"
|
echo "Extras:"
|
||||||
echo " pyblock PyBlock"
|
echo " whitepaper download the whitepaper from the blockchain to /home/admin/bitcoin.pdf"
|
||||||
echo
|
echo " notifyme wrapper for blitz.notify.sh that will send a notification using the configured method and settings"
|
||||||
echo " Extras:"
|
|
||||||
echo " whitepaper download the whitepaper from the blockchain to /home/admin/bitcoin.pdf"
|
|
||||||
echo " notifyme wrapper for blitz.notify.sh that will send a notification using the configured method and settings"
|
|
||||||
else
|
|
||||||
cd /home/admin
|
|
||||||
./00raspiblitz.sh
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user