The goal of this program is to extract a specific show command output from the show tech-support file.
mymac$ python shtech_extract.py -f ./show-tech/show_tech_file.log
Enter the show command: show run
show running-config sanitized -------------
! Command: show running-config ! device: 22sw22 (DCS-7304, EOS-4.16.6M)
Enter the show command: show module
show module -------------
Module Ports Card Type Model Serial No.
Enter the show command: end
mymac$