{"modulePath":"github.com/jenspinney/cli","version":"v6.42.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n\\* \\* This plugin demonstrate the use of Test driven development using the test rpc server \\* This allows the plugin to be tested independently without relying on CF CLI\n\n## Types\n\n```go\ntype AppModel struct {\n\tEntity EntityModel `json:\"entity\"`\n}\n```\n\n```go\ntype AppsModel struct {\n\tNextURL   string     `json:\"next_url,omitempty\"`\n\tResources []AppModel `json:\"resources\"`\n}\n```\n\n```go\ntype DemoCmd struct{}\n```\n\n```go\nfunc (c *DemoCmd) GetMetadata() plugin.PluginMetadata\n```\n\n```go\nfunc (c *DemoCmd) Run(cliConnection plugin.CliConnection, args []string)\n```\n\n```go\ntype EntityModel struct {\n\tName  string `json:\"name\"`\n\tState string `json:\"state\"`\n}\n```\n\n","path":"github.com/jenspinney/cli/plugin/plugin_examples/test_rpc_server_example","name":"main","synopsis":"* * This plugin demonstrate the use of Test driven development using the test rpc server * This allows the plugin to be tested independently without relying on CF CLI","isRedistributable":true}
