Remove options from the help display that don't apply to a command

Đang mở
#12,430 1 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 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Lĩnh vực
cli

Hướng nghiên cứu

The issue does not name which options should be removed or how groups should be formed, so start by reading the earlier grouping work in #12213 and the discussion on this issue to find the agreed scope. Identify the option definitions that apply to v2 commands and the filtering functions that #12213 added. Done means the options that do not apply to a v2 command are gone and the remaining ones are grouped, which needs maintainer confirmation of the list first.

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

Mô tả

attention: pr-welcome re: options re: user experience type: enhancement

I'd like to remove options that don't apply to a v2 command and to group options.

I'd done some grouping in #12213 but this was a bit by eye and improvised with filtering functions.

Ngôn ngữ chính
Haskell
Star
1.8k
Fork
766
Merge trung bình
5 ngày 21 giờ
Pull request đã merge (30 ngày)
27

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 haskell/cabal

Tất cả issue của haskell/cabal

Issue tương tự

Thêm issue về Haskell

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.