exercism / exercism/cli

Replaced default path when using --workspace

Aberta
#780 3 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Go
Estrelas
1.4k
Forks
363
Merge médio
6d 13h
PRs com merge (30d)
2

Descrição

I haven't used exercism in a while and just updated to 3.0.11. In the process. I used the --workspace flag, but it ignored the path I gave and replaced the default (existing) path.

Steps taken:

1. `exercism configure --token=`
Result:
```
The default Exercism workspace is ~/Exercism
There is already something there.
...
You can choose the workspace location by rerunning this command
with the --workspace flag.
```
2. `exercism configure --token= --workspace=~/Exercism/Reboot/`
Result:
```
You have configured the Exercism command-line client:

Config dir: ~/.config/exercism
Token: (-t, --token)
Workspace: (-w, --workspace) ~/Exercism/Reboot
API Base URL: (-a, --api) https://api.exercism.io/v1
```

However, `~/Exercism/Reboot` does not exist. The existing directory `~/Exercism` is now an empty directory `~/exercism`.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.