(cmd *cobra.Command, args []string)
| 213 | } |
| 214 | |
| 215 | func runCommunityScriptsPlan(cmd *cobra.Command, args []string) error { |
| 216 | plan, err := buildCommunityScriptPlan(cmd, args[0]) |
| 217 | if err != nil { |
| 218 | return printError(err) |
| 219 | } |
| 220 | if plan == nil { |
| 221 | return nil |
| 222 | } |
| 223 | |
| 224 | if getOutputFormat(cmd) == outputTable { |
| 225 | printCommunityScriptPlanTable(*plan) |
| 226 | return nil |
| 227 | } |
| 228 | |
| 229 | return printJSON(plan) |
| 230 | } |
| 231 | |
| 232 | func runCommunityScriptsInstall(cmd *cobra.Command, args []string) error { |
| 233 | session, err := initCLISession(cmd) |
nothing calls this directly
no test coverage detected