Skip to content

Commit

Permalink
Use pixi.lock as default on the commandline
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Feb 26, 2025
1 parent f3fd127 commit 06f1c2f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pixi_to_conda_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,12 @@ def _validate_pip_in_conda_packages(
def _parse_args() -> argparse.Namespace:
"""Parse command line arguments."""
parser = argparse.ArgumentParser(description="Convert pixi.lock to conda-lock.yml")
parser.add_argument("pixi_lock", type=Path, help="Path to pixi.lock file")
parser.add_argument(
"pixi_lock",
type=Path,
help="Path to pixi.lock file",
default="pixi.lock",
)
parser.add_argument(
"--output",
"-o",
Expand Down

0 comments on commit 06f1c2f

Please sign in to comment.