-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
poetry-export: add page #18822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
poetry-export: add page #18822
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,28 @@ | ||||||
# poetry export | ||||||
|
||||||
> Export Poetry's lock file to other formats. | ||||||
> More information: <https://python-poetry.org/docs/cli/#export>. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- Export dependencies to a requirements.txt file: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
https://github.com/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md#special-cases |
||||||
|
||||||
`poetry export --output {{requirements.txt}}` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
https://github.com/tldr-pages/tldr/blob/main/contributing-guides/style-guide.md#exceptions |
||||||
|
||||||
- Export dependencies including development dependencies: | ||||||
|
||||||
`poetry export --dev --output {{requirements-dev.txt}}` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- Export dependencies without hashes: | ||||||
|
||||||
`poetry export --without-hashes --output {{requirements.txt}}` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- Export dependencies for a specific format: | ||||||
|
||||||
`poetry export --format {{requirements.txt}} --output {{requirements.txt}}` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- Export only specific dependency groups: | ||||||
|
||||||
`poetry export --only {{main}} --output {{requirements.txt}}` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
- Display help: | ||||||
|
||||||
`poetry export --help` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.