Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

profiles show and list ignore --profile

Đang mở
#199 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@manyoneek đang làm issue này rồi.

Từ ngày 22/10/2026.

  • #200 của @manyoneek — đang mở

Đánh giá

Độ khó
1/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
1/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
cli

Hướng nghiên cứu

The issue identifies the profiles show and profiles list handlers as the failing entry points; inspect how each resolves the profile and uses rt.Globals.Profile. Run the reproduction steps with Python 3, patch, and Go, then confirm both commands select qa-chosen, the saved profile remains unchanged, and an explicit positional name still takes precedence. A linked pull request already contains a fix.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

profiles show --profile chosen and profiles list --profile chosen use the saved active profile instead of chosen.

Reproduce

  • Run python3 reproduce-all.py from the reproduction source; it creates two credential-free profiles, with qa-base active.
  • Run rc profiles show --profile qa-chosen --json and rc profiles list --profile qa-chosen --json.
  • Both select qa-base instead of qa-chosen.

Reproduced October 22: 0381e9169458, Go 1.26.10, macOS arm64.

Fix, tests and before/after demo.

Ngôn ngữ chính
Go
Star
22
Fork
1
Merge trung bình
6 ngày 18 giờ
Pull request đã merge (30 ngày)
14

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của RevenueCat/cli

Tất cả issue của RevenueCat/cli

Issue tương tự

Thêm issue về Go

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.