Template matching via command line