-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/docsDocumentation issues/improvementsDocumentation issues/improvementsarea/docs/faqFrequently duplicated/potential addition to FAQFrequently duplicated/potential addition to FAQ
Description
-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption). -
OS version and name: NixOS 21.05
-
Poetry version: 1.1.11
Issue
When setting repository credentials with poetry config http-basic.custom-repo gitlab-ci-token ${GITLAB_JOB_TOKEN} the command will fail any time the GITLAB_JOB_TOKEN begins with a hyphen. The command line parser tries to treat the password as an option.
The current workaround is to use double hyphen e.g. poetry config http-basic.custom-repo -- gitlab-ci-token ${GITLAB_JOB_TOKEN}
This should either be fixed in the option parser, or the workaround documented in the manual.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/docsDocumentation issues/improvementsDocumentation issues/improvementsarea/docs/faqFrequently duplicated/potential addition to FAQFrequently duplicated/potential addition to FAQ