def handle_docopt(self, arguments):
        try:
            manager = StoreManager(store_names=arguments['<store_name>'] if not arguments['--all'] else None)
        except StoreManager.MissingStoreInStoresConfigException as e:
            exit(e.args[0])

        for store in manager.get_stores():
            store.fetch()
    def handle_docopt(self, arguments):
        try:
            manager = StoreManager(store_names=arguments['<store_name>'] if not arguments['--all'] else None)
        except StoreManager.MissingStoreInStoresConfigException as e:
            exit(e.args[0])

        for store in manager.get_stores():
            try:
                store.update()
            except DataStorageManager.NoRevision:
                print('WARNING: {} cannot be updated. There is no fetched data for it.'.format(store.name))