poetry add <dependency>

Adds a new dependency to pyproject.toml

Arguments

NameDescription
dependencyPackage to add

Options

NameDescription
-h, --helpDisplay this help message
-v, --verboseIncrease the verbosity of messages
-vvMore verbose output
-vvvMost verbose output for debug
-V, --versionDisplay this application version
--ansiForce ANSI output
--no-ansiDisable ANSI output
-n, --no-interactionDo not ask any interactive question
-D, --devAdd as a development dependency
-E, --extras <extras>Extras to activate for the dependency
--optionalAdd as an optional dependency
--dry-runOutput the operations but do not execute anything (implicitly enables --verbose)
--lockDo not perform operations (only update the lockfile)