Arc alias, is there a way to pass arguments?

I would like to create an alias which would download given revision and construct workspace out of it. I can get the diff as differential.getrawdiff and commit messages differential.getcommitmessage. But I need to somehow pass the revision number to my script. The idea was to call

arc construct D1234

which would be defined somehow like

arc alias construct ‘!/where/is/my/script $PARAM’

But I can’t find a way to pass the D1234 to the script.

Arguments you pass to "arc " are passed to your script in order.

epriestley@orbital ~/dev/arcanist $ cat 

echo $2
echo $1
epriestley@orbital ~/dev/arcanist $ arc alias echo '!/Users/epriestley/dev/arcanist/'
Aliased "arc echo" to shell command "/Users/epriestley/dev/arcanist/".
epriestley@orbital ~/dev/arcanist $ arc echo x y