def option(self, name, shortcut=None, description=None,
               value_required=None, is_list=False, default=None, flag=False):
        def decorate(func):
            func_name = func.__name__

            if self.has(func_name):
                command = self.get(func_name)
            else:
                command = self.register(func_name)
                command.set_description(func.__doc__)

            command.add_option_from_dict({
                'name': name,
                'shortcut': shortcut,
                'description': description,
                'value_required': value_required,
                'flag': flag,
                'list': is_list,
                'default': default
            })
            command.set_code(func)

            return func

        return decorate
EventualResult.stash() stores the object in the global ResultStore.
dataset/ETHPy150Open sdispater/cleo/cleo/application.py/Application.option--crossover with--dataset/ETHPy150Open itamarst/crochet/crochet/tests/test_api.py/EventualResultTests.test_stash