feat(contact): Improve Contact information with name, mail and URL
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
12
cmd/init.go
12
cmd/init.go
@ -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")
|
||||
|
Reference in New Issue
Block a user