blag.quickstart¶
Helper methods for blag’s quickstart command.
Functions
|
Prompt for user input. |
|
Quickstart. |
- blag.quickstart.get_input(question: str, default: str) str ¶
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 – the question the user is presented
default – the default value that will be used if no answer was given
- Returns
the answer
- Return type
str
- blag.quickstart.quickstart(args: argparse.Namespace | None) None ¶
Quickstart.
This method asks the user some questions and generates a configuration file that is needed in order to run blag.
- Parameters
args – not used