text colouring

text colouring

usage

import cliflect
console=cliflect.console()
@console.cmd('out')
def out(nme):
         console.echo(nme, color="white", bright=True)#bright==bold
console.run()
active colors
  • black

  • red

  • green

  • yellow

  • blue

  • magenta

  • cyan

  • white

note: if bright is True, the text will be bold