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

Command to list projects in workspace #4376

Closed
spydon opened this issue Sep 10, 2024 · 0 comments
Closed

Command to list projects in workspace #4376

spydon opened this issue Sep 10, 2024 · 0 comments

Comments

@spydon
Copy link

spydon commented Sep 10, 2024

Now when the new workspaces feature is around the corner it would be great to have a command that listed the packages/apps in your workspace.

It could be something like this for example:

$ dart pub workspace list
examples
flame
flame_tiled

And it would be good to have a flag that also gave the path of the projects, maybe in json or just some super simple text format?

$ dart pub workspace list -v
examples: apps/examples/
flame: packages/flame
flame_tiled: packages/flame_tiled

This would be useful since then we don't have to duplicate that information in the melos config, or have to parse .dart_tool/package_config.json.

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

2 participants