Skip to content
This repository
tree: ab401e7af2
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 32 lines (24 sloc) 0.613 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
import os

sys.path.insert(0, os.path.abspath('..'))

from clint.eng import join
from clint.textui import colored, indent, puts

colors = [
    colored.blue('blue'),
    colored.red('red'),
    colored.yellow('yellow'),
    colored.green('green'),
    colored.magenta('magenta')
]

colors = [str(cs) for cs in colors]


puts('Smart:')
with indent(4):
    for i in range(len(colors)):
        puts(join(colors[:i+1]))
puts('\n')
puts('Stupid:')
with indent(4):
    for i in range(len(colors)):
        puts(join(colors[:i+1], im_a_moron=True, conj='\'n'))
Something went wrong with that request. Please try again.