Akilan1999 / p2p-rendering-computation

p2p network to enable running distributed computation and rendering.
https://p2prc.akilan.io/
GNU General Public License v2.0
27 stars 9 forks source link

Detection of plugins #48

Closed Akilan1999 closed 3 years ago

Akilan1999 commented 3 years ago

Added detection of the plugin system

Implemented similar to the flag --vi.

New Structs added

// Plugins Array of all plugins detected
type Plugins struct {
    PluginsDetected []*Plugin
}

// Plugin Information about the plugins available
type Plugin struct {
    FolderName         string
    PluginDescription  string
}

New flag added

--vp

Sample output

{
    "PluginsDetected": [
        {
            "FolderName": "TestAnsible",
            "PluginDescription": "Test if it's detected"
        }
    ]
}

Partial implementation of the issue #47