Skip to content

init: Allow '--import <ENV_FILE>' and '--format <FORMAT>' together #2523

@jamesmyatt

Description

@jamesmyatt

Problem description

I'd like to be able to write this, please.

pixi init --import environment.yml --format pyproject

Or is there an automatic way to convert pixi.toml to pyproject.toml.

Currently this gives the following error:

error: the argument '--import <ENV_FILE>' cannot be used with '--format <FORMAT>'

pixi: 0.37.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXRelated to the User Experience of pixiconfigurationIssue related to configuration of project or global behaviorgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions