Esempio 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)
Esempio n. 2
0
 def handle(self, *args, **options):
     """
     Run command.
     """
     fontcache = FontCache()
     fontcache.clear(verbose=True)