nat-n / poethepoet

A task runner that works well with poetry.
https://poethepoet.natn.io/
MIT License
1.48k stars 60 forks source link

Use -C and --directory for pyproject.toml directory path (#212) #213

Closed jeraymond closed 7 months ago

jeraymond commented 7 months ago

Update Poe to use args -C and --directory to find the path to the directory with pyproject.toml. This better aligns with Poetry (which also uses -C and --directory). Keep the --root argument as a hidden parameter for backwards compatibility.

jeraymond commented 7 months ago

@nat-n I think I found the right places to swap in -C for --root (ui, tests, docs). Please take a look and LMK if I missed anything.

nat-n commented 7 months ago

@jeraymond Thanks for helping to make poethepoet better :)

jeraymond commented 7 months ago

@jeraymond Thanks for helping to make poethepoet better :)

No problem, thanks for making such a great tool!