def state_file_options(f): """Decorator for options for the state_file command""" decorator_stack = compose(*STATE_FILE_OPTIONS) return decorator_stack(f)
def base_options(f): """Decorator for default options""" decorator_stack = compose(*BASE_OPTIONS) return decorator_stack(f)
def election_file_options(f): """Decorator for options fo the election_file command""" decorator_stack = compose(*ELECTION_FILE_OPTIONS) return decorator_stack(f)