Exemplo n.º 1
0
    def handle(self, *args, **options):
        """
        Run command.
        """
        fontcache = FontCache()

        # clear first if we are refreshing the cache
        if options.get('refresh'):
            fontcache.clear(verbose=True)

        # update font cache
        fontcache.update(verbose=True)
Exemplo n.º 2
0
 def handle(self, *args, **options):
     """
     Run command.
     """
     fontcache = FontCache()
     fontcache.clear(verbose=True)