Drop-in replacement for the SAM cli.

Expands the template in expand.