poetry init
Creates a basic pyproject.toml file in the current directory
Options
Name | Description |
---|---|
-h, --help | Display help information |
-v, --verbose | Increase the verbosity of messages |
-vv | More verbose output |
-vvv | Debug output |
-V, --version | Display this application version |
--ansi | Force ANSI output |
--no-ansi | Disable ANSI output |
-n, --no-interaction | Do not ask any interactive question |
--no-plugins | Disables plugins |
--no-cache | Disables poetry source caches |
--directory <directory> | The working directory for the poetry command |
-q, --quiet | Do not output any message |
--name | Name of the package |
--description | Description of the package |
--author | Author name of the package |
--python | Compatible Python versions |
--dependency | Package to require, with an optional version constraint, e.g. requests:^2.10.0 or requests=2.11.1 |
--dev-dependency | Package to require for development, with an optional version constraint, e.g. requests:^2.10.0 or requests=2.11.1 |
--license | License of the package |