def invoked(self, ctx):
        """Method called when the command is invoked."""
        if not ctx.ansi.is_enabled:
            print("You need color support to use this demo")
        else:
            print(ctx.ansi.cmd('erase_display'))
            self._demo_fg_color(ctx)
            self._demo_bg_color(ctx)
            self._demo_bg_indexed(ctx)
            self._demo_rgb(ctx)
            self._demo_style(ctx)
Method called when the command is invoked.