jaggery command line script does not execute the jaggery script in the argument

103 views Asked by At

I tried writting some jaggery expressions in a separate .jag file and tried executing it as follows

./jaggery.sh file.jag

The output is just the content in the file. Whatever i have in the file is printed to the console.

i.e if i have

print("hello"); in file.jag

the output is print("hello"); whereas my expected output is hello

1

There are 1 answers

0
Abimaran Kugathasan On

Try like following

<%
   print('hello');
%>

And, It's mentioned that,

Jaggery CMD is still experimental, and is for developer preview. You are welcome to play with it and please do provide us your feedback