Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

CLI: --files parameter is unwieldy

Open
#398 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
cli

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
C#
Stars
486
Forks
91
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aspnet/LibraryManager

All issues in aspnet/LibraryManager

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.