Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

CLI: --files parameter is unwieldy

Aperta
#398 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp
Ambito
cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C#
Stelle
486
Fork
91
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aspnet/LibraryManager

Tutte le issue di aspnet/LibraryManager

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.