Function cli_input

Synopsis

def cli_input(type_pattern)

Description

Returns an InputField

Source

Lines 20-25 in anyfig/fields.py.

def cli_input(type_pattern):
  ''' Returns an InputField '''
  assert type_pattern in [str, int, tuple, list, dict]
  return InputField(type_pattern)






Add Discussion as Guest

Log in