Skip to content

Help defined in a section not working #123

Answered by nat-n
ianepperson asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ianepperson, thanks for the feedback :)

I think there's a subtle issue with your toml syntax in that you're using double square brackets around the lines with the task names. If you use single brackets instead then I think it should work as you expect.

What's happening here is that instead of defining a toml table for [tool.poe.tasks.shell], you're defining an array of tables which poe interprets as a sequence task with a single item, and in sequence tasks the subtask don't get help text (only the sequence task itself).

I'll take a note of this that it would probably be helpful if poe gave a validation error in this case, because the help option for tasks defined inside a sequence is …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ianepperson
Comment options

Answer selected by ianepperson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #122 on January 28, 2023 19:47.