(cmd *cobra.Command, args []string)
| 129 | } |
| 130 | |
| 131 | func enterHelp(cmd *cobra.Command, args []string) { |
| 132 | if utils.IsInsideContainer() { |
| 133 | if !utils.IsInsideToolboxContainer() { |
| 134 | fmt.Fprintf(os.Stderr, "Error: this is not a Toolbx container\n") |
| 135 | return |
| 136 | } |
| 137 | |
| 138 | if _, err := utils.ForwardToHost(); err != nil { |
| 139 | fmt.Fprintf(os.Stderr, "Error: %s\n", err) |
| 140 | return |
| 141 | } |
| 142 | |
| 143 | return |
| 144 | } |
| 145 | |
| 146 | if err := showManual("toolbox-enter"); err != nil { |
| 147 | fmt.Fprintf(os.Stderr, "Error: %s\n", err) |
| 148 | return |
| 149 | } |
| 150 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…