We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9942d5 commit 6a39117Copy full SHA for 6a39117
consolekit/__init__.py
@@ -37,7 +37,7 @@
37
from click.utils import make_str
38
39
# this package
40
-from consolekit.input import confirm, prompt
+from consolekit import input, terminal_colours, utils
41
42
__author__: str = "Dominic Davis-Foster"
43
__copyright__: str = "2020 Dominic Davis-Foster"
@@ -126,9 +126,9 @@ def prompt_for_value(self, ctx):
126
# If this is a prompt for a flag we need to handle this
127
# differently.
128
if self.is_bool_flag:
129
- return confirm(self.prompt, default)
+ return input.confirm(self.prompt, default)
130
131
- return prompt(
+ return input.prompt(
132
self.prompt,
133
default=default,
134
type=self.type,
0 commit comments