Target
sereto.cli.target
¶
prompt_user_for_target(categories)
¶
Interactively prompt for a target's details.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
categories
|
Iterable[str]
|
List of all categories to present to the user for selection. |
required |
Returns:
| Type | Description |
|---|---|
AnyTargetModel
|
The target as provided by the user. |
Source code in sereto/cli/target.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | |