prefix-dev / pixi

Package management made easy
https://pixi.sh
BSD 3-Clause "New" or "Revised" License
3.38k stars 193 forks source link

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

Open jamesmyatt opened 5 days ago

jamesmyatt commented 5 days ago

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