Checkout this node. You can also see a working example.
In reply to Re: command line arguments? by neilwatson in thread command line arguments? by redemption