Skip to content

Update publish command documentation to indicate how to set username and password with environment variables #9109

@mwgamble

Description

@mwgamble

Issue Kind

Improving documentation

Existing Link

https://python-poetry.org/docs/cli/#publish

Description

In #9053, I was told that it is possible to set the username and password used for publishing with the publish command. I was admonished for not reading the documentation, and linked to this page:
https://python-poetry.org/docs/repositories/#configuring-credentials

The thing that @dimbleby didn't account for before telling me to read the documentation is that I had read the documentation, I just apparently hadn't read the correct documentation. I first checked the output of poetry publish --help, and then I read this page:
https://python-poetry.org/docs/cli/#publish

And nowhere did it mention configuring credentials via environment variables.

So my request is to please improve the documentation for the publish command specifically to indicate that this is possible. It would also be nice if the output of poetry publish --help could indicate this too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docsDocumentation issues/improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions