astro add cli doesn't inherit flags #7793
Labels
- P2: nice to have
Not breaking anything but nice to have (priority)
feat: add
Related to `astro add` CLI command (scope)
What version of
astro
are you using?2.9.1
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Linux
What browser are you using?
Chrome
Describe the Bug
With the
astro add
cli I you can install astro integrations and automatically add them to the config file. There are integrations that are only needed as devDependency but the cli doesn't provide a way to install them as one. ( For exampleastro-compress
,astro-preload
or@astrojs/sitemap
)What's the expected result?
I would expect that the arguments get passed down to the install command.
Example:
Link to Minimal Reproducible Example
any astro project
Participation
The text was updated successfully, but these errors were encountered: