Commit a9a1afa4 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[FEATURE] enable execution of node scripts as sgc commands

parent 4fdb52fa
......@@ -24,6 +24,8 @@ elif [ -e "sgc-core/modules/$" ]; then
elif [ -e "./sgc-scripts/$" ]; then
elif [ -e "./sgc-core/core/modules/$1.js" ]; then
node ./sgc-core/core/modules/$1.js $@
cd sgc-core
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment