blag.quickstart¶
Helper methods for blag’s quickstart command.
Functions
|
Prompt for user input. |
|
Quickstart. |
- blag.quickstart.get_input(question, default)¶
Prompt for user input.
This is a wrapper around the input-builtin. It will show the default answer in the prompt and – if no answer was given – use the default.
- Parameters
question (str) – the question the user is presented
default (str) – the default value that will be used if no answer was given
- Return type
str
- blag.quickstart.quickstart(args)¶
Quickstart.
This method asks the user some questions and generates a configuration file that is needed in order to run blag.
- Parameters
args (argparse.Namespace) –