InquirerPath
Bases: InquirerWidget
An input prompt that allows the user to enter a file path.
__init__(message, name=None, default='', exists=False, path_type=PathType.ANY, mandatory=False)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message
|
str
|
The prompt message to display. |
required |
default
|
str
|
The default value if the user presses Enter without input. |
''
|
exists
|
bool
|
If True, validate that the entered path exists. |
False
|