2023-08-15 01:26:55 +03:00
|
|
|
(
|
|
|
|
# Create a new Leo lottery example program.
|
|
|
|
$LEO example lottery || exit
|
|
|
|
ls -la
|
|
|
|
cd lottery && ls -la
|
|
|
|
|
2023-09-29 20:00:07 +03:00
|
|
|
# Run the script.
|
|
|
|
chmod +x ./run.sh || exit
|
|
|
|
export -f leo
|
|
|
|
./run.sh || exit
|
2023-08-15 01:26:55 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
(
|
|
|
|
# Create a new Leo tictactoe example program.
|
|
|
|
$LEO example tictactoe || exit
|
|
|
|
ls -la
|
|
|
|
cd tictactoe && ls -la
|
|
|
|
|
2023-09-29 20:00:07 +03:00
|
|
|
# Run the script.
|
|
|
|
chmod +x ./run.sh || exit
|
|
|
|
export -f leo
|
|
|
|
./run.sh || exit
|
2023-08-15 01:26:55 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
(
|
|
|
|
#Create a new Leo token example program.
|
|
|
|
$LEO example token || exit
|
|
|
|
ls -la
|
|
|
|
cd token && ls -la
|
|
|
|
|
2023-09-29 20:00:07 +03:00
|
|
|
# Run the script.
|
|
|
|
chmod +x ./run.sh || exit
|
|
|
|
export -f leo
|
|
|
|
./run.sh || exit
|
2023-08-15 01:26:55 +03:00
|
|
|
)
|