()
| 58 | } |
| 59 | |
| 60 | func init() { |
| 61 | DdevSSHCmd.Flags().StringVarP(&serviceType, "service", "s", "web", "Defines the service to connect to. [e.g. web, db]") |
| 62 | _ = DdevSSHCmd.RegisterFlagCompletionFunc("service", ddevapp.GetServiceNamesFunc(true)) |
| 63 | DdevSSHCmd.Flags().StringVarP(&sshDirArg, "dir", "d", "", "Defines the destination directory within the container") |
| 64 | DdevSSHCmd.Flags().StringVarP(&serviceUser, "user", "u", "", "Defines the user to use within the container") |
| 65 | RootCmd.AddCommand(DdevSSHCmd) |
| 66 | } |
nothing calls this directly
no test coverage detected