poetry init

Creates a basic pyproject.toml file in the current directory

Options

NameDescription
-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
--nameName of the package
--descriptionDescription of the package
--authorAuthor name of the package
--pythonCompatible Python versions
--dependencyPackage to require, with an optional version constraint, e.g. requests:^2.10.0 or requests=2.11.1
--dev-dependencyPackage to require for development, with an optional version constraint, e.g. requests:^2.10.0 or requests=2.11.1
--licenseLicense of the package