Open
Description
The plugin config file contains the metadata for a plugin. Many commands need to read from it. This should be abstracted behind a util. This will make it easy to support different locations or formats of the config.
One large piece of this is to figure out how to find plugin config. It would be really nice to not have to specify the config location for every command that needs to read from it. There are two solutions that I'm thinking of to solve this:
- Follow the gradle model and use a wrapper. The wrapper should live where the config is. This is okay, but not ideal in my opinion as the wrapper is something else we have to maintain.
- Follow the git model and look in the current folder and all parent folders for the config file. I like this as I think it will handle most scenarios well. The main concern is if there is another config file that is not Delphix related. We can detect this pretty quickly though.
┆Issue is synchronized with this Jira Story by Unito