nat-n / poethepoet

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

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

Closed jeraymond closed 4 months ago

jeraymond commented 4 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 4 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 4 months ago

@jeraymond Thanks for helping to make poethepoet better :)

jeraymond commented 4 months ago

@jeraymond Thanks for helping to make poethepoet better :)

No problem, thanks for making such a great tool!