-
Notifications
You must be signed in to change notification settings - Fork 34
Pass multiple packages to dlxCommand #217
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature
Currently with dlxCommand() you can't pass multiple --package to the argument, since name is escaped and args come after.
We can support string | string[] for the package argument which would generate multiple --package=<package[i]> flags in the generated command.
Why: I'm trying to use Drizzle Kit's studio via dlx, and that requires additional dependencies (drizzle-orm).
I can submit a PR however Deno and Bun do not support the --package flag, so I'm unsure whether we throw an error if not npm/pnpm/yarn, or we don't implement this for uniformity.
Update: Bun is supported https://bun.com/blog/bun-v1.2.21#bunx-now-supports-package
Additional information
- Would you be willing to help implement this feature?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request