account

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentCmd = &cobra.Command{
	Use:   "current",
	Short: "Get the authenticated account",
	Long:  "Returns the authenticated account and the mailboxes it can manage.",
	Run: func(cmd *cobra.Command, args []string) {
		r, err := api.Request().GetCurrentAccountWithResponse(context.TODO())
		if err != nil {
			log.Fatal(err)
		}

		output.Format(cmd, r.Body, r.StatusCode())
	},
}
View Source
var GroupCmd = &cobra.Command{
	Use:   "account",
	Short: "Account commands",
}

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