mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 00:37:57 +00:00
14 lines
354 B
Bash
Executable File
14 lines
354 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
args=$@
|
|
|
|
# handle when arguments not provided. run arguments provided to script.
|
|
if [ "$args" = "" ] ; then
|
|
printf "Note: Please try providing an argument to the script.\n\n"
|
|
exit 1
|
|
else
|
|
printf "*** Running Substrate Docker container with provided arguments: $args\n\n"
|
|
docker run --rm -it parity/substrate $args
|
|
fi
|
|
|