Say you have index.js
in your CWD:
module { console} moduleexports { console} moduleexports { console}
$ rit
here
$ rit . test
test
$ rit ./ args --test=1
{ test: 1 }
$ rit ./index.js args --test=1 --test=2
{ test: [ 1, 2 ] }
$ rit ./index.js args --test=1 --test2=2
{ test: 1, test2: 2 }
$ rit ./index.js args --test=1 --test2=2 --ya 42
{ test: 1, test2: 2, ya: 42 }