MCPcopy
hub / github.com/containers/toolbox / rmiHelp

Function rmiHelp

src/cmd/rmi.go:108–127  ·  view source on GitHub ↗
(cmd *cobra.Command, args []string)

Source from the content-addressed store, hash-verified

106}
107
108func rmiHelp(cmd *cobra.Command, args []string) {
109 if utils.IsInsideContainer() {
110 if !utils.IsInsideToolboxContainer() {
111 fmt.Fprintf(os.Stderr, "Error: this is not a Toolbx container\n")
112 return
113 }
114
115 if _, err := utils.ForwardToHost(); err != nil {
116 fmt.Fprintf(os.Stderr, "Error: %s\n", err)
117 return
118 }
119
120 return
121 }
122
123 if err := showManual("toolbox-rmi"); err != nil {
124 fmt.Fprintf(os.Stderr, "Error: %s\n", err)
125 return
126 }
127}

Callers

nothing calls this directly

Calls 1

showManualFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…