Replaced default path when using --workspace
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the two exercism configure commands from the issue and trace the CLI's workspace-path handling. Confirm the existing default workspace is not replaced and that the requested --workspace path is handled correctly; add or update coverage for this sequence if the repository has relevant tests.
Written by the indexing model from the issue text.
Description
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:
exercism configure --token=<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.
exercism configure --token=<TOKEN> --workspace=~/Exercism/Reboot/
Result:
You have configured the Exercism command-line client:
Config dir: ~/.config/exercism
Token: (-t, --token) <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.
- Dominant language
- Go
- Stars
- 1.4k
- Forks
- 363
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from exercism/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Fetch next exercise Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100