discover command support, plugin support

`yaml.load()` returns a dict, so I suppose `AttributeError`.