def ask(): prompt_str("plugin_name", prompt_string="Plugin name: dogebuild_") test_tools = ["nox", "none"] prompt_enum("test_tool", values=test_tools, prompt_string=f"Use integration test tool ({', '.join(test_tools)})? ") prompt_bool("use_travis", prompt_string="Use travis? ") prompt_bool("use_docs", prompt_string="Create documentation? ") prompt_bool('readme', default_value="y", prompt_string="Create README.md file? [Y/n]: ") prompt_license() prompt_bool('git', default_value="y", prompt_string="Init git repository? [Y/n]: ")
def ask(): prompt_str("string_parameter", prompt_string="Enter string parameter: ") # Remove if no need to control README.md prompt_bool('readme', default_value="y", prompt_string="Create README.md file? [Y/n]: ") # Remove if no need in LICENSE file prompt_license() # Remove if no need in git repo init control prompt_bool('git', default_value="y", prompt_string="Init git repository? [Y/n]: ")
def ask(): prompt_str('module_name', prompt_string="Enter module name: ") prompt_bool('git', default_value="y", prompt_string="Init git repository? [Y/n]: ") prompt_bool('gitignore', default_value="y", prompt_string="Create python .gitignore file? [Y/n]: ") prompt_bool('readme', default_value="y", prompt_string="Create README.md file? [Y/n]: ") prompt_license() prompt_bool('travis', default_value="y", prompt_string="Create .travis.yml file? [Y/n]: ")
def ask(): prompt_str("name", prompt_string="Enter tapa name: ") # Remove if no need to control README.md prompt_bool('readme', default_value="y", prompt_string="Create README.md file? [Y/n]: ") # Remove if no need in LICENSE file prompt_license() # Remove if no need in git repo init control prompt_bool('git', default_value="y", prompt_string="Init git repository? [Y/n]: ") prompt_bool('nox', default_value="y", prompt_string="Create noxfile.py for test? [Y/n]: ") prompt_bool('travis', default_value="y", prompt_string="Create .travis.yml for CI? [Y/n]: ")
def ask(): prompt_str('executable_name', prompt_string='Executable name: ')
def ask(): prompt_str("a.b") prompt_str("a.c")
def ask(): prompt_str("param", default_value="a simple param") prompt_str("b", default_value="b_param")
def ask(): prompt_str("directory_name") prompt_str("file_name") prompt_str("value_in_file")