Add a new parameter type to cast string into integer list. This will be useful to implement multiple task IDs picking.
"1 2 3" => [1, 2 , 2]
Example:
import click
from hyperfocus.console.core.parameters import INT_LIST
@click.command()
def cli_test():
value = click.prompt("Enter a list of integers", default=[], type=INT_LIST)
click.echo(" - ".join(str(item) for item in value))
Add a new parameter type to cast string into integer list. This will be useful to implement multiple task IDs picking.
"1 2 3"
=>[1, 2 , 2]
Example: