cli icon indicating copy to clipboard operation
cli copied to clipboard

download TODO comment: handle collision when writing solution files

Open jdsutherland opened this issue 7 years ago • 2 comments

In effort to resolve TODO comments, I'm in the process of promoting them to issues.

https://github.com/exercism/cli/blob/a86f82974270d2da2090a02437560897a216abc3/cmd/download.go#L198-L199

It seems like https://github.com/exercism/cli/issues/457 is related. Is this still pending further info?

jdsutherland avatar Jan 20 '19 12:01 jdsutherland

I've come to the conclusion that I don't want to make the CLI interactive if we can avoid it (at least not until we've worked out all the existing kinks in a non-interactive way).

I think the solution here would be to display an error message if there's a collision, including a pointer at how you could resolve it.

kytrinyx avatar Feb 20 '19 00:02 kytrinyx

With the premiss of an interactive CLI out of scope for the time being, and the --force flag having been added in #979. I believe this should count as resolved?

haguro avatar Feb 27 '21 01:02 haguro