arrow_back Back to Notebook
linux
linux
January 10, 2019

How to load more days on the Agenda view in GCalCLI

By default gcalcli loads 7 days on the agenda view. You can specify how many you want if you give it 2 number args, for example:

GCalCLI start and end args

gcalcli agenda <start> <end>

These numbers represent the number in the month.

To load more days you need to pass the current date as the first arg and the the date you want as the second arg, this is what I use in my scripts

gcalcli agenda `date +%Y-%m-%d` `date +%Y-%m-%d --date="+9 days"`
  • date +%Y-%m-%d

    The current date

  • date +%Y-%m-%d --date="+9 days"

    The current date 9 days in advance

Thanks for reading!

John Wiseman

Full-Stack Software Engineer building scalable digital solutions. specializing in modern web technologies and mission-critical systems.

© 2026 Wiseman Systems Pty. Ltd.

Navigation

Start a Conversation

Ready to discuss your next project? Let's build something extraordinary together.

Get in Touch