File tree Expand file tree Collapse file tree 2 files changed +29
-3
lines changed Expand file tree Collapse file tree 2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 4343 sudo apt install -y mkdocs
4444 pip install -r docs/requirements.txt
4545 make init report
46+ play
4647 make install
4748 #make uninstall
4849
6061 sudo apt install -y mkdocs
6162 pip install -r docs/requirements.txt
6263 make init report
64+ play
6365 make install
6466 #make uninstall
6567
Original file line number Diff line number Diff line change @@ -35,19 +35,41 @@ export TOR_IMAGE
3535for (( i= 1 ;i<= $# ;i++ )) ;
3636do
3737
38- if [[ ${! i} = * id ]]; then
38+ if [[ ${! i} = * ids ]]; then
3939 (( i++ ))
40+ echo THUNDERHUB_ID:
41+ echo $THUNDERHUB_ID
42+ echo RTL_ID:
43+ echo $RTL_ID
44+ echo LND_ID:
45+ echo $LND_ID
46+ echo DOCS_ID:
47+ echo $DOCS_ID
48+ echo BITCOIND_ID:
4049 echo $BITCOIND_ID
50+ echo TOR_ID:
51+ echo $TOR_ID
4152 exit
4253
43- elif [[ ${! i} = * image ]]; then
54+ elif [[ ${! i} = * images ]]; then
4455 (( i++ ))
56+ echo THUNDERHUB_IMAGE:
57+ echo $THUNDERHUB_IMAGE
58+ echo RTL_IMAGE:
59+ echo $RTL_IMAGE
60+ echo LND_IMAGE:
61+ echo $LND_IMAGE
62+ echo DOCS_IMAGE:
63+ echo $DOCS_IMAGE
64+ echo BITCOIND_IMAGES:
4565 echo $BITCOIND_IMAGE
66+ echo TOR_IMAGE:
67+ echo $TOR_IMAGE
4668 exit
4769
4870 elif [[ ${! i} = top ]]; then
4971 (( i++ ))
50- docker top $BITCOIND_ID
72+ docker top ${ ! i}
5173 exit
5274
5375 elif [[ ${! i} = start ]]; then
90112 elif [[ ${! i} == * help ]]; then
91113 (( i++ ))
92114 echo
115+ echo " play ids"
116+ echo " play top <CONTAINER_ID>"
93117 echo " play <command> - execute shell command in container"
94118 echo " play -d '<command>' - send command to bitcoind"
95119 echo " play -cli '<command>' - send command to bitcoin-cli"
You can’t perform that action at this time.
0 commit comments