add vars action to CLI to print template variables

Fixes #21.
add doc for new vars action on script
add vars action in unit tests