MCPcopy Create free account
hub / github.com/basecamp/hey-cli / newCalendarsCommand

Function newCalendarsCommand

internal/cmd/calendars.go:15–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14type calendarsCommand struct {
15 cmd *cobra.Command
16}
17
18func newCalendarCommand() *cobra.Command {
19 calendar := &cobra.Command{
20 Use: "calendar",
21 Short: "Browse your calendars",
22 Annotations: map[string]string{
23 "agent_notes": "Subcommands: list. Returns all calendars with IDs. Pipe IDs to hey event list --calendar <id>.",
24 },
25 }
26 calendar.AddCommand(newCalendarsCommand().cmd)
27 return calendar
28}
29
30func newCalendarsCommand() *calendarsCommand {
31 calendarsCommand := &calendarsCommand{}
32 calendarsCommand.cmd = &cobra.Command{

Callers 1

newRootCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected