import sys
sys.path.append('..')
from statuscast import Cast
from time import sleep

# Simple

task1 = Cast('Cleaning dust')
sleep(2)
task1.info('There seems to be more dust here')
sleep(2)
task1.complete()

# Simple, keep all messages

task2 = Cast('Cleaning Closet', erase_exceptions=['all'])
sleep(2)
task2.info('There seems to be more dust here')
sleep(2)
task2.complete()

# Simple, keep only info

task3 = Cast('Washing car', erase_exceptions=['info'])
sleep(2)
task3.info('There are some scratches')
sleep(2)
task3.complete()

import sys
sys.path.append('..')
from statuscast import Cast
from time import sleep

# Simple

task1 = Cast('Cleaning dust')
sleep(2)
task1.info('There seems to be more dust here')
sleep(2)
task1.complete()

# Simple, keep all messages

task2 = Cast('Cleaning Closet', erase_exceptions=['all'])
sleep(2)
task2.info('There seems to be more dust here')
sleep(2)
task2.complete()

# Simple, keep only info

task3 = Cast('Washing car', erase_exceptions=['info'])
sleep(2)
task3.info('There are some scratches')
sleep(2)
task3.complete()

# Simple # Simple, keep all messages # Simple, keep only info