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

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

Open
jamesmyatt opened this issue Nov 20, 2024 · 0 comments
Open

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

jamesmyatt opened this issue Nov 20, 2024 · 0 comments

Comments

@jamesmyatt
Copy link

jamesmyatt commented Nov 20, 2024

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

@jamesmyatt jamesmyatt changed the title init: the argument '--import <ENV_FILE>' cannot be used with '--format <FORMAT>' init: Allow '--import <ENV_FILE>' and '--format <FORMAT>' together Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant