calendar

package
v1.0.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ClientFactory is the function used to create Calendar clients. Override in tests to inject mocks.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns the calendar command with all subcommands

Types

type EventListOptions added in v1.0.30

type EventListOptions struct {
	CalendarID   string
	TimeMin      string // RFC3339 format
	TimeMax      string // RFC3339 format
	MaxResults   int64
	JSONOutput   bool
	Header       string // Header message to print (empty to show count-based header)
	EmptyMessage string // Message when no events found
}

EventListOptions configures how events are listed and displayed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL