class Quit:
    aliases = ('quit', 'quit()', )
    description = 'Quits the application'

    def execute(self):
        raise SystemExit

class Quit:
    aliases = ('quit', 'quit()', ':q', )
    description = 'Quits the application'

    def execute(self):
        raise SystemExit

Add :q alias for quit