Add methode to search cmd by used template