feat(contact): Improve Contact information with name, mail and URL
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Matthieu 'JP' DERASSE
2022-08-27 22:00:16 +00:00
parent 05ecb05132
commit 9107f0d36e
4 changed files with 38 additions and 11 deletions

View File

@ -130,9 +130,17 @@ func runInitAction(cmd *cobra.Command, args []string) {
log.Info("Description of the project:")
config.ProjectDescription = helpers.StringInput()
// ask project owner
// ask project contact
config.ProjectContact = models.ProjectContactStruct{}
log.Info("Mail address of the developer team:")
config.ProjectOwner = helpers.StringInput()
config.ProjectContact.Email = helpers.StringInput()
log.Info("Name of the team:")
config.ProjectContact.Name = helpers.StringInput()
log.Info("URL of the contact informatino of the team:")
config.ProjectContact.URL = helpers.StringInput()
// launch GetInitializeUserInput from selected api type
log.Debug("Get user input for the selected API type")