Skip to content
Snippets Groups Projects
Commit 726ae848 authored by Malte Bauch's avatar Malte Bauch
Browse files

Add plugin to `networkelement show` output within cli

parent 312e971f
No related branches found
No related tags found
1 merge request!746Resolve "Missing plugin information if requesting a network element"
Pipeline #184319 passed
......@@ -58,9 +58,15 @@ The actual network element is not queried directly.`,
panel1 := pterm.DefaultBox.WithTitle("UUID:").Sprint(mne.Id)
panel2 := pterm.DefaultBox.WithTitle("Name:").Sprint(mne.Name)
panel3 := pterm.DefaultBox.WithTitle("Plugin-ID:").Sprint(mne.Plugin.Id)
panel4 := pterm.DefaultBox.WithTitle("Manifest:").Sprint(mne.Plugin.Manifest)
panel5 := pterm.DefaultBox.WithTitle("Plugin:").Sprint(panel3, "\n", panel4)
panels, _ := pterm.DefaultPanel.WithPanels(pterm.Panels{
{{Data: panel1}},
{{Data: panel2}},
{{Data: panel5}},
}).Srender()
pterm.DefaultBox.WithRightPadding(0).WithBottomPadding(0).Println(panels)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment