Common
check_installed(is_cli_installed)
¶
Returns an error message if additional CLI packages are not installed.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
is_cli_installed
|
True if additional packages are installed |
required |
Source code in ckanext/attribution/commands/migration/common.py
45 46 47 48 49 50 51 52 53 54 | |
multi_choice(question, options, default=0)
¶
Provide the user with a list of options.
Returns:
| Type | Description |
|---|---|
|
index of the chosen option |
Source code in ckanext/attribution/commands/migration/common.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | |