netbox-community / Device-Type-Library-Import

This library is intended to assist with importing device and module types into NetBox from the NetBox Community DeviceType-Library
https://github.com/netbox-community/devicetype-library
MIT License
256 stars 77 forks source link

Add CLI option for custom git URL #7

Closed mtinberg closed 3 years ago

mtinberg commented 3 years ago

Added CLI option for the git URL used, so it can be pointed to forks of devicetype-library and added some help text to the CLI options and the output so it's clear what is being used as a data source. Also fixed a lint issue in readYAML if there is an exception just continue to the next file instead of trying to use the uninitialized data.