add template command.