You can specify variables in the vars: array in your Pakefile. Use it in your action with the following syntax: %{var}. Users can override them from command line.
vars:
foo: spam
bar: eggs
default:
shell:
echo %{foo} %{bar}
$ pake
spam eggs
$ pake foo=bacon
bacon eggs