(cmd *cobra.Command, input *userInput)
| 535 | } |
| 536 | |
| 537 | func registerDetailsInfo(cmd *cobra.Command, input *userInput) { |
| 538 | userConnectionName.RegisterString(cmd, &input.connectionName, "") |
| 539 | userUsername.RegisterString(cmd, &input.username, "") |
| 540 | userName.RegisterString(cmd, &input.name, "") |
| 541 | userPassword.RegisterString(cmd, &input.password, "") |
| 542 | userEmail.RegisterString(cmd, &input.email, "") |
| 543 | userPhoneNumber.RegisterString(cmd, &input.phoneNumber, "") |
| 544 | } |
| 545 | |
| 546 | func validateRequiredFlags(inputs *userInput) error { |
| 547 | switch inputs.connectionName { |
no test coverage detected