(cmd *cobra.Command, args []string)
| 112 | } |
| 113 | |
| 114 | func rmHelp(cmd *cobra.Command, args []string) { |
| 115 | if utils.IsInsideContainer() { |
| 116 | if !utils.IsInsideToolboxContainer() { |
| 117 | fmt.Fprintf(os.Stderr, "Error: this is not a Toolbx container\n") |
| 118 | return |
| 119 | } |
| 120 | |
| 121 | if _, err := utils.ForwardToHost(); err != nil { |
| 122 | fmt.Fprintf(os.Stderr, "Error: %s\n", err) |
| 123 | return |
| 124 | } |
| 125 | |
| 126 | return |
| 127 | } |
| 128 | |
| 129 | if err := showManual("toolbox-rm"); err != nil { |
| 130 | fmt.Fprintf(os.Stderr, "Error: %s\n", err) |
| 131 | return |
| 132 | } |
| 133 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…