(cmd *cobra.Command, args []string)
| 38 | } |
| 39 | |
| 40 | func help(cmd *cobra.Command, args []string) error { |
| 41 | if utils.IsInsideContainer() { |
| 42 | if !utils.IsInsideToolboxContainer() { |
| 43 | return errors.New("this is not a Toolbx container") |
| 44 | } |
| 45 | |
| 46 | exitCode, err := utils.ForwardToHost() |
| 47 | return &exitError{exitCode, err} |
| 48 | } |
| 49 | |
| 50 | if err := helpShowManual(args); err != nil { |
| 51 | return err |
| 52 | } |
| 53 | |
| 54 | return nil |
| 55 | } |
| 56 | |
| 57 | func helpHelp(cmd *cobra.Command, args []string) { |
| 58 | if utils.IsInsideContainer() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…