yarn icon indicating copy to clipboard operation
yarn copied to clipboard

[Bug?]: redundant subcommand `exec` in `yarn help`

Open timongh opened this issue 3 years ago • 4 comments

Self-service

  • [ ] I'd be willing to implement a fix

Describe the bug

If you run yarn help in any directory that is not a yarn berry project, you will see a subcommand exec. But executing yarn help exec does not give you any useful information. And I can't find information about this subcommand on the Yarn 1 website either.

Environment

System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
  Binaries:
    Node: 16.16.0 - C:\Users\me\AppData\Local\Temp\xfs-dc3eceea\node.CMD
    Yarn: 3.2.2 - C:\Users\me\AppData\Local\Temp\xfs-dc3eceea\yarn.CMD
    npm: 8.11.0 - ~\AppData\Local\fnm_multishells\24660_1658842120196\npm.CMD

Additional context

No response

timongh avatar Jul 26 '22 15:07 timongh

Hi! 👋

This issue looks stale, and doesn't feature the reproducible label - which implies that you didn't provide a working reproduction using Sherlock. As a result, it'll be closed in a few days unless a maintainer explicitly vouches for it or you edit your first post to include a formal reproduction (you can use the playground for that).

Note that we require Sherlock reproductions for long-lived issues (rather than standalone git repositories or similar) because we're a small team. Sherlock gives us the ability to check which bugs are still affecting the master branch at any given point, and decreases the amount of code we need to run on our own machines (thus leading to faster bug resolutions). It helps us help you! 😃

If you absolutely cannot reproduce a bug on Sherlock (for example because it's a Windows-only issue), a maintainer will have to manually add the upholded label. Thanks for helping us triaging our repository! 🌟

yarnbot avatar Aug 26 '22 07:08 yarnbot

Moved this to classic since v3.2.2 doesn't advertise nor support a help <subcommand> command.

merceyz avatar Aug 26 '22 12:08 merceyz

Self-service

  • [ ] I'd be willing to implement a fix

Describe the bug

If you run yarn help in any directory that is not a yarn berry project, you will see a subcommand exec. But executing yarn help exec does not give you any useful information. And I can't find information about this subcommand on the Yarn 1 website either.

Environment

System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
  Binaries:
    Node: 16.16.0 - C:\Users\me\AppData\Local\Temp\xfs-dc3eceea\node.CMD
    Yarn: 3.2.2 - C:\Users\me\AppData\Local\Temp\xfs-dc3eceea\yarn.CMD
    npm: 8.11.0 - ~\AppData\Local\fnm_multishells\24660_1658842120196\npm.CMD

Additional context

No response https://github.com/yarnpkg/yarn/issues/8875#issue-1352210040

kirmo9 avatar Sep 06 '22 05:09 kirmo9

And I can't find information about this subcommand on the Yarn 1 website either.

@timongh Interestingly enough, this exists: https://classic.yarnpkg.com/en/docs/cli/exec

marcogrcr avatar Mar 29 '24 02:03 marcogrcr