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

126 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 best solutions below

0
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