def list_todos_all():
os.system('clear')
todo_title()
count = 1
click.echo(click.style('TO DO LIST', fg='green', bold=True , underline=True))
s = select([Category])
result = s.execute()
if result:
for row in result:
q = session.query(Items).filter(Items.category_id==row[0]).all()
click.echo(click.style( Fore.CYAN + str([count])+(Fore.CYAN + ' ' + row[1]),bold=True ))
count += 1
for i in q:
click.echo(click.style('>>>' + i.items , fg='white', bold=True))
start_todo()
else:
click.echo('Nothing to display')
#FIREBASE SYNC AND SAVE
评论列表
文章目录