agenda

package
v0.0.0-...-db8ebed Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AgendaCmd = &cobra.Command{
	Use:   "agenda",
	Short: "Add agenda ID",
	Args:  cobra.ExactArgs(1),
	Run: func(cmd *cobra.Command, args []string) {
		client := calendar.NewClient()
		err := client.InsertAgendaID(args[0])
		if err != nil {
			log.Fatal(err)
		}

		fmt.Println("Agenda has added with success")
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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