Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completion for "yarn workspaces" #8

Open
jonaslindstr opened this issue Dec 21, 2021 · 0 comments
Open

Completion for "yarn workspaces" #8

jonaslindstr opened this issue Dec 21, 2021 · 0 comments

Comments

@jonaslindstr
Copy link

The completion for yarn workspaces shows these commands:

yarn workspaces
info  -- Display the workspace dependency tree of your current project.
run   -- Run the chosen Yarn command in each workspace.

However, yarn 3.1.1 gives quite a different list when running yarn workspaces:

Unknown Syntax Error: Command not found; did you mean one of:

  0. yarn workspaces list [--since] [-R,--recursive] [-v,--verbose] [--json]
  1. yarn workspaces focus [--json] [--production] [-A,--all] ...
  2. yarn workspaces foreach [-R,--recursive] [--from #0] [-A,--all] [-v,--verbose] [-p,--parallel] [-i,--interlaced] [-j,--jobs #0] [-t,--topological] [--topological-dev] [--include #0] [--exclude #0] [--no-private] [--since] <commandName> ...

(I love that the list starts with zero...)

Could it be a question of different yarn versions? If it would it be possible to add completion for the current version of yarn, that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant