Skip to content
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

Allow add to accept package name and version as a single string #717

Closed
1 task done
ulope opened this issue Dec 7, 2018 · 2 comments
Closed
1 task done

Allow add to accept package name and version as a single string #717

ulope opened this issue Dec 7, 2018 · 2 comments
Labels
area/cli Related to the command line kind/feature Feature requests/implementations
Milestone

Comments

@ulope
Copy link

ulope commented Dec 7, 2018

  • I have searched the issues of this repo and believe that this is not a duplicate.

Issue

Please allow add to accept the package name and version constraints in a single string. I.e. poetry add 'something>=2.1' instead of having to use poetry add 'something >=2.1'.

This is slightly related to #429 in that it would also reduce friction for people switching over from other tools (e.g. pip).

Also there is a slight documentation bug here: Neither the docs for the add command nor the command line help include any mention on how to specify version constraints in the first place.

@sdispater sdispater added area/cli Related to the command line kind/feature Feature requests/implementations labels Dec 10, 2018
@sdispater sdispater added this to the 1.0 milestone Dec 10, 2018
@sdispater
Copy link
Member

This is now possible in the latest beta release (see #1221 for more information).

Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/cli Related to the command line kind/feature Feature requests/implementations
Projects
None yet
Development

No branches or pull requests

2 participants