Open whoabuddy opened 3 years ago
Some helpful additional functions would be:
btc-check
show-keys
btc-req
new-keychain
show-debug
show-xfer
del-stacks
save-data
del-data
Interesting use of getopts
to accept more detailed arguments:
https://unix.stackexchange.com/questions/321126/dash-arguments-to-shell-scripts
While debug mode takes the terminal output and records it to a file, the data directory (default in /tmp and addressed in #24) remains untouched.
The next step after a crash is to collect the recorded output, compress the data file, and follow some basic instructions to upload and retrieve the information. This could all be rolled into an additional command versus added as part of debug mode, following steps similar to those outlined in #24.
Ideas:
bash config-miner-argon.sh collect
bash config-miner-argon.sh compress
...etcAlso consider if additional functions should be broken up - refactor for phase 3?