예제 #1
0
파일: cli.py 프로젝트: okapia/khal
 def agenda(ctx, days, events, dates):
     '''Print agenda.'''
     controllers.agenda(
         build_collection(ctx),
         date=dates,
         firstweekday=ctx.obj['conf']['locale']['firstweekday'],
         encoding=ctx.obj['conf']['locale']['encoding'],
         show_all_days=ctx.obj['conf']['default']['show_all_days'],
         locale=ctx.obj['conf']['locale'],
         days=days or ctx.obj['conf']['default']['days'],
         events=events,
     )
예제 #2
0
파일: cli.py 프로젝트: 0mark/khal
 def agenda(ctx, days, events, dates):
     '''Print agenda.'''
     controllers.agenda(
         build_collection(ctx),
         date=dates,
         firstweekday=ctx.obj['conf']['locale']['firstweekday'],
         encoding=ctx.obj['conf']['locale']['encoding'],
         show_all_days=ctx.obj['conf']['default']['show_all_days'],
         locale=ctx.obj['conf']['locale'],
         days=days or ctx.obj['conf']['default']['days'],
         events=events,
     )
예제 #3
0
파일: cli.py 프로젝트: ploth/khal
 def agenda(ctx, days, events, dates, full=False):
     '''Print agenda.'''
     controllers.agenda(
         build_collection(ctx),
         date=dates,
         firstweekday=ctx.obj['conf']['locale']['firstweekday'],
         encoding=ctx.obj['conf']['locale']['encoding'],
         show_all_days=ctx.obj['conf']['default']['show_all_days'],
         locale=ctx.obj['conf']['locale'],
         days=days or ctx.obj['conf']['default']['days'],
         events=events,
         full=full,
         bold_for_light_color=ctx.obj['conf']['view']
         ['bold_for_light_color'])
예제 #4
0
파일: cli.py 프로젝트: ploth/khal
 def agenda(ctx, days, events, dates, full=False):
     '''Print agenda.'''
     controllers.agenda(
         build_collection(ctx),
         date=dates,
         firstweekday=ctx.obj['conf']['locale']['firstweekday'],
         encoding=ctx.obj['conf']['locale']['encoding'],
         show_all_days=ctx.obj['conf']['default']['show_all_days'],
         locale=ctx.obj['conf']['locale'],
         days=days or ctx.obj['conf']['default']['days'],
         events=events,
         full=full,
         bold_for_light_color=ctx.obj['conf']['view']['bold_for_light_color']
     )