Use the --with option from poetry install to install dependency groups instead of --group.
This fixes an error shown on VSCode startup when using the devcontainer:
Running the postCreateCommand from devcontainer.json...
[98026 ms] Start: Run in container: /bin/sh -c poetry install --no-interaction --no-ansi --no-root --group=docs --group=dev
Creating virtualenv runner-manager in /workspaces/runner-manager/.venv
The option "--group" does not exist
[101878 ms] postCreateCommand failed with exit code 1. Skipping any further user-provided commands.
Done. Press any key to close the terminal.
Use the
--with
option from poetry install to install dependency groups instead of--group
.This fixes an error shown on VSCode startup when using the devcontainer: