Skip to content
#

unix-command

Here are 199 public repositories matching this topic...

AndrewOwenMartin
AndrewOwenMartin commented Apr 26, 2019

The documentation says that the "message" attribute of a question can be a string or a function that takes the current answers and returns a string. That doesn't appear to be accurate documentation as any function, or lambda, I use as a questions "message" gets evaluated as a string in the prompt.

e.g. This question definition;

def my_message(answers):
    return "Hello {x}".format(x=len

Improve this page

Add a description, image, and links to the unix-command topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the unix-command topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.