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

CLI: --files parameter is unwieldy

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
cli

Hướng nghiên cứu

Start by locating the CLI argument parsing for the libman install command and how repeated --files values are currently handled. Compare it with the proposed GNU-style behavior, including the case where --destination and foo follow --files; done means multiple file names can be supplied without repeating the option and the existing command still behaves correctly.

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

Mô tả

P3
Functional impact

It's inconvenient to type --files for every individual file (also, why is --files pluralized if it can only specify one file?)

Minimal repro steps
  1. libman install jquery@3.3.1 --files jquery.js --files jquery.min.js --files jquery.min.map
Expected result

--files ought to be the last parameter, and everything after it should be considered a file name. This proposed behavior is similar to the -- parameter in GNU convention.

The above command could be simplified to:

libman install jquery@3.3.1 --files jquery.js jquery.min.js jquery.min.map

In the following, --destination and foo would be considered file names.

libman install jquery@3.3.1 --files jquery.js jquery.min.js jquery.min.map --destination foo
Actual result

It's tedious.

Ngôn ngữ chính
C#
Star
486
Fork
91
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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

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 aspnet/LibraryManager

Tất cả issue của aspnet/LibraryManager

Issue tương tự

Thêm issue về C#

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.