Module ImportFrom alias alias alias alias Import alias Import alias Import alias ImportFrom alias identifier alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num NameLoad body Expr Str Assert CompareLt NameLoad Call NameLoad NameLoad Str Assign NameStore CompareGtE NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad If NameLoad body Assign NameStore Str Assign NameStore Str orelse Assign NameStore NameStore Str For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr IfExp CompareEq NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body If CompareLt NameLoad Call NameLoad NameLoad body Return NameLoad orelse Raise Call NameLoad Str decorator_list Assign NameStore BoolOpOr NameLoad Dict If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad NameLoad attr keyword BoolOpOr NameLoad Str keyword ListLoad Call NameLoad keyword Str NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Str body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad Str attr BoolOpOr BinOpAdd Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call NameLoad NameLoad Expr Call NameLoad Str While NameLoad body TryFinally body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Break orelse TryExcept body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass finalbody Expr Call NameLoad Str decorator_list If CompareEq NameLoad Str body Pass
N/A __future__ unicode_literals division absolute_import print_function N/A math N/A shlex N/A six taskr console default_console Color taskr.contrib.validators integer_validator prompt_for_choice N/A N/A choices prompt console default input_kwargs N/A None default_console -1 None N/A N/A 
    :param choices: list of choices. should be a list of str
    :type choices: list[str]
    :param prompt: the prompt to be shown while asking user. default is 'choose one from above options'
    :type prompt: str
    :param console: console used to output
    :type console: taskr.terminal.Console
    :param default: default option of these choice. any value less than 0 means no default value
    :type default: int
    :return: the value use choose, or the default one
    :rtype: int
     N/A N/A default N/A len choices Default option is great than the number of choices N/A has_default N/A default 0 N/A zero_paddings N/A int N/A N/A math ceil N/A N/A math log10 N/A len choices N/A choice_template N/A N/A {{}}{{:{}d}}) {{}} format zero_paddings N/A has_default N/A N/A default_prefix *  N/A non_default_prefix N/A N/A default_prefix non_default_prefix N/A N/A i choice N/A enumerate choices N/A N/A N/A N/A console show N/A N/A choice_template format N/A N/A i default default_prefix non_default_prefix i choice choice_validator N/A N/A value N/A N/A N/A N/A value N/A len choices N/A N/A value N/A N/A N/A ValueError The index is greater than the number of choices N/A N/A input_kwargs N/A input_kwargs N/A N/A has_default N/A N/A N/A input_kwargs N/A default default N/A N/A N/A console input prompt N/A prompt Choose one from above options validators N/A N/A integer_validator error_message Choose a number choice_validator repeat_until_valid True input_kwargs N/A shell N/A N/A task welcome_banner prompt_text prompt_color prompt_symbol N/A None None None > N/A N/A prompt_color N/A N/A prompt_text N/A N/A Color str prompt_text foreground prompt_color N/A prompt N/A N/A {}{}  format N/A N/A N/A N/A prompt_text strip prompt_symbol N/A input N/A N/A six moves input N/A welcome_banner N/A N/A N/A print welcome_banner N/A N/A print (Use ctrl+c to quit) N/A True N/A N/A N/A N/A N/A N/A cmd N/A input prompt N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A N/A N/A N/A N/A task dispatch N/A N/A shlex split cmd N/A N/A N/A SystemExit N/A N/A N/A N/A N/A print N/A N/A N/A __name__ __main__ N/A N/A