exercism / exercism/cli

exercism configure not saving configuration

Đang mở
#928 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
1.4k
Fork
363
Merge trung bình
6 ngày 13 giờ
Pull request đã merge (30 ngày)
2

Mô tả

Hello,

I'm trying to get my token set up so I can download exercises. When I run the command to configure my token I get the response:

> You have configured the Exercism command-line client:
>
> Config dir: /home/brian/.config/exercism
> Token: (-t, --token) 7b1e2471-c246-4aee-a288-53ff07ac9fbe
> Workspace: (-w, --workspace) /home/brian/exercism
> API Base URL: (-a, --api) https://api.exercism.io/v1

However when I attempt to use exercism I get the prompt to configure again. Checking exercism troubleshoot I find:

> Troubleshooting Information
> ===========================
>
> Version
> ----------------
> Current: 3.0.13
> Latest: 3.0.13
>
>
> Operating System
> ----------------
> OS: linux
> Architecture: amd64
>
>
> Configuration
> ----------------
> Home: /home/brian/snap/exercism/5
> Workspace: /home/brian/snap/exercism/5/exercism (default)
> Config: /home/brian/snap/exercism/5/.config/exercism
> API key:
> Find your API key at https://exercism.io/my/settings
>
> API Reachability
> ----------------
>
> GitHub:
> * https://api.github.com
> * [connected]
> * 85.167273ms
>
> Exercism:
> * https://api.exercism.io/v1/ping
> * [connected]
> * 938.798165ms

It seems that I still only have the default configuration in place. I've rebooted a few times to make sure I don't have some strange state from installing. Is there some configuration file I can just manually edit?

Cheers

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.