def test_colors(): print(terminal.cyan('cyan color')) print(terminal.blue('blue color')) print(terminal.yellow('yellow color')) print(terminal.magenta('magenta color')) print(terminal.black('black color')) print(terminal.white('white color')) print(terminal.gray('gray color')) print(terminal.grey('grey color')) print(terminal.red(terminal.green('green color'))) print(terminal.cyan_bg('cyan background')) print(terminal.blue_bg('blue background')) print(terminal.yellow_bg('yellow background')) print(terminal.magenta_bg('magenta background')) print(terminal.black_bg('black background')) print(terminal.white_bg('white background')) print(terminal.gray_bg('gray background')) print(terminal.grey_bg('grey background')) print(terminal.red_bg(terminal.green_bg('green background')))
def print_title(self, title): if 'Option' in title: print(terminal.magenta(title)) elif 'Command' in title: print(terminal.green(title)) return self
def magenta(text): return terminal.magenta(text)
def Processing(): return terminal.magenta(r"[Processing] ")