diff --git a/pages/common/poetry-export.md b/pages/common/poetry-export.md new file mode 100644 index 00000000000000..df329caeef64cf --- /dev/null +++ b/pages/common/poetry-export.md @@ -0,0 +1,29 @@ +# poetry export + +> Export Poetry's lock file to other formats. +> Provided by the Export Poetry Plugin. +> More information: . + +- Export dependencies to a `requirements.txt` file: + +`poetry export {{[-o|--output]}} {{requirements.txt}}` + +- Export dependencies including development dependencies: + +`poetry export {{[-o|--output]}} {{requirements-dev.txt}} --dev` + +- Export dependencies without hashes: + +`poetry export {{[-o|--output]}} {{requirements.txt}} --without-hashes` + +- Export dependencies for a specific format: + +`poetry export {{[-o|--output]}} {{requirements.txt}} {{[-f|--format]}} {{requirements.txt}}` + +- Export only specific dependency groups: + +`poetry export {{[-o|--output]}} {{requirements.txt}} --only {{main}}` + +- Display help: + +`poetry export {{[-h|--help]}}`