/ scripts / dev / user-shell.sh
user-shell.sh
 1  # shellcheck shell=bash
 2  
 3  eval "$(devimint env)"
 4  source ./scripts/dev/completion.sh
 5  source ./scripts/dev/aliases.sh
 6  
 7  echo Waiting for fedimint start
 8  
 9  STATUS="$(devimint wait)"
10  if [ "$STATUS" = "ERROR" ]
11  then
12      echo "fedimint didn't start correctly"
13      echo "See other panes for errors"
14      exit 1
15  fi
16  
17  eval "$(devimint env)"
18  
19  echo Done!
20  echo
21  echo "This shell provides the following aliases:"
22  echo ""
23  echo "  fedimint-cli   - cli client to interact with the federation"
24  echo "  lightning-cli  - cli client for Core Lightning"
25  echo "  lncli          - cli client for LND"
26  echo "  bitcoin-cli    - cli client for bitcoind"
27  echo "  gateway-lnd    - cli client for the LND gateway"
28  echo "  gateway-ldk    - cli client for the LDK gateway"
29  echo
30  echo "Use '--help' on each command for more information"