Skip to content

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

Closed

Description

@ulope
  • 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.

Activity

  1. added this to the 1.0 milestone on Dec 10, 2018
  2. sdispater commented on Nov 1, 2019

    @sdispater
    Member

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

  3. github-actions commented on Mar 3, 2024

    @github-actions

    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.

  4. locked as resolved and limited conversation to collaborators on Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliRelated to the command linekind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions