exercism / exercism/cli

Allow API to control messages returned to the user on submission

Ouverte
#807 5 commentaires 0 réactions 1 personne assignée Réclamée par @kytrinyx Voir sur GitHub
Langage dominant
Go
Étoiles
1.4k
Forks
363
Merge moyen
6 j 13 h
PR mergées (30 j)
2

Description

There are an increasing amount of usecases for the API being able to return custom messages upon
submission. Examples include being able to implement https://github.com/exercism/cli/issues/802 without cutting a new release, or being able to provide custom next steps depending on the type of exercise (mentored vs independent, core vs side, etc)

I'd like to return a message from the API, which then gets outputted at https://github.com/exercism/cli/blob/a86f82974270d2da2090a02437560897a216abc3/cmd/submit.go#L275

I think we can then also remove https://github.com/exercism/cli/blob/a86f82974270d2da2090a02437560897a216abc3/cmd/submit.go#L278-L281

Thoughts?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.