You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In short, the "exec" CLI command, which lets you run locally-installed executables as though node_modules/.bin was included in your PATH, is undocumented both in the CLI help system and in the online documentation, despite being (a) functional, (b) valuable, and (c) listed in the output of yarn help as an available command.
NOTE: This issue is basically the same as what was reported in #7172, but the report was a little confused and it got closed.
Command
yarn helpexec
What is the current behavior?
Yarn outputs the usage/info for the "help" command instead of the "exec" command.
What is the expected behavior?
Yarn explains what the "exec" command does.
Because it's undocumented, I can only provide my loose understanding of what it does here:
It looks for the given executable as though node_modules/.bin had been added to your existing PATH environment variable
It prints the current version of yarn
If the command succeeds, it prints the output and a "Done in X.XXs" line.
If the command fails, it reports the error code, the command, and any arguments that were provided to it.
Steps to Reproduce
yarn help exec (The usage for yarn's "help" command will incorrectly be printed.)
Bug description
In short, the "exec" CLI command, which lets you run locally-installed executables as though node_modules/.bin was included in your PATH, is undocumented both in the CLI help system and in the online documentation, despite being (a) functional, (b) valuable, and (c) listed in the output of
yarn help
as an available command.NOTE: This issue is basically the same as what was reported in #7172, but the report was a little confused and it got closed.
Command
What is the current behavior?
Yarn outputs the usage/info for the "help" command instead of the "exec" command.
What is the expected behavior?
Yarn explains what the "exec" command does.
Because it's undocumented, I can only provide my loose understanding of what it does here:
Steps to Reproduce
yarn help exec
(The usage for yarn's "help" command will incorrectly be printed.)Environment
v10.16.0
1.21.1
The text was updated successfully, but these errors were encountered: