add output when creating users using CLI (#10140)

* add output when creating users using CLI

* update per feedback

* update per feedback 2
Этот коммит содержится в:
Carlos Tadeu Panato Junior
2019-01-26 17:28:35 +01:00
коммит произвёл GitHub
родитель 0ed9fad78c
Коммит 94e45c3466

Просмотреть файл

@@ -356,7 +356,14 @@ func userCreateCmdF(command *cobra.Command, args []string) error {
}
}
CommandPrettyPrintln("Created User")
CommandPrettyPrintln("id: " + ruser.Id)
CommandPrettyPrintln("username: " + ruser.Username)
CommandPrettyPrintln("nickname: " + ruser.Nickname)
CommandPrettyPrintln("position: " + ruser.Position)
CommandPrettyPrintln("first_name: " + ruser.FirstName)
CommandPrettyPrintln("last_name: " + ruser.LastName)
CommandPrettyPrintln("email: " + ruser.Email)
CommandPrettyPrintln("auth_service: " + ruser.AuthService)
return nil
}