Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 378 Bytes

cmdargs.md

File metadata and controls

23 lines (14 loc) · 378 Bytes
title layout
Commandline Args
default

Accessing Commandline Arguments

Arguments passed into a Neko application via the commandline are stored as strings in an array on the $loader object.

For example, running this

{% highlight javascript %} $print($loader.args) {% endhighlight %}

like this

neko cmdargs.n hello world!

results in

[hello,world!]