Add more info to piston script help
And make it easier to read
This commit is contained in:
parent
09a0ed250d
commit
50978c4205
45
piston
45
piston
|
@ -124,31 +124,32 @@ case "$SUBCOMMAND" in
|
||||||
*)
|
*)
|
||||||
echo "=== Piston Management ==="
|
echo "=== Piston Management ==="
|
||||||
echo
|
echo
|
||||||
echo "Commands:"
|
echo "======================"
|
||||||
echo " logs Show piston logs"
|
echo "General Commands"
|
||||||
|
echo "======================"
|
||||||
|
echo " logs Show Piston logs"
|
||||||
|
echo " start Start Piston production container"
|
||||||
|
echo " stop Stop Piston"
|
||||||
|
echo " restart Restart Piston"
|
||||||
|
echo " shell Open a bash shell for the container"
|
||||||
|
echo " update Fetch latest updates"
|
||||||
|
echo " exec <language> <file> Execute the files on Piston with language"
|
||||||
echo
|
echo
|
||||||
echo " start Starts piston"
|
echo "======================"
|
||||||
echo " stop Stops piston"
|
echo "Development Commands"
|
||||||
echo " restart Restarts piston"
|
|
||||||
echo " shell Opens a bash shell for the api container"
|
|
||||||
echo
|
|
||||||
echo " update Fetches latest updates"
|
|
||||||
echo
|
|
||||||
echo " exec <language> <file> Execute the files on piston with language"
|
|
||||||
echo
|
|
||||||
echo "Development Commands:"
|
|
||||||
echo "Running some of these commands require a nix environment setup and on the path"
|
echo "Running some of these commands require a nix environment setup and on the path"
|
||||||
echo "See https://nixos.wiki/wiki/Nix_Installation_Guide#Stable_Nix"
|
echo "See https://nixos.wiki/wiki/Nix_Installation_Guide#Stable_Nix"
|
||||||
echo
|
echo "======================"
|
||||||
echo " start-dev Builds a container locally and starts piston"
|
echo " build-dev Build the development image"
|
||||||
echo " build [runtime-set] Builds and loads the API container optionally"
|
echo " build [runtime-set] Build the production image, and optionally"
|
||||||
echo " including the runtime set within it"
|
echo " include a specified runtime set"
|
||||||
echo " scaffold <language> [runtime] Initializes a new runtime"
|
echo " start-dev Start Piston development container"
|
||||||
echo " test <runtime> Runs unit tests on the given runtime"
|
echo " scaffold <language> [runtime] Initialize a template for a new runtime"
|
||||||
echo " test-dev <runtime> Same as test, but using the development container and volume"
|
echo " test <runtime> Run unit tests on the given runtime"
|
||||||
echo " Optionally set runtime to --all to test all"
|
echo " Optionally set runtime to --all to test all"
|
||||||
echo " NOTE: This is only for the runtimes contained"
|
echo " NOTE: This is only for the runtimes contained"
|
||||||
echo " within this repo"
|
echo " within this repo"
|
||||||
|
echo " test-dev <runtime> test using the development container and volume"
|
||||||
echo
|
echo
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue