poetry add <name>

Adds a new dependency to pyproject.toml


nameThe packages to add


-h, --helpDisplay help information
-v, --verboseIncrease the verbosity of messages
-vvMore verbose output
-vvvDebug output
-V, --versionDisplay this application version
--ansiForce ANSI output
--no-ansiDisable ANSI output
-n, --no-interactionDo not ask any interactive question
--no-pluginsDisables plugins
--no-cacheDisables poetry source caches
--directory <directory>The working directory for the poetry command
-q, --quietDo not output any message
--groupThe group to add the dependency to
--devAdd as a development dependency. (Deprecated) Use --group=dev instead
--editableAdd vcs/path dependencies as editable
--extrasExtras to activate for the dependency
--optionalAdd as an optional dependency
--pythonPython version for which the dependency must be installed
--platformPlatforms for which the dependency must be installed
--sourceName of the source to use to install the package
--allow-prereleasesAccept prereleases
--dry-runOutput the operations but do not execute anything (implicitly enables --verbose)
--lockDo not perform operations (only update the lockfile)