Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Version, Revision string
)
Functions ¶
Types ¶
type ApplyCommand ¶
type ApplyCommand struct { Target string `short:"f" long:"filename" required:"yes"` ApplyToExistingEmails bool `short:"e" long:"apply-to-existing"` }
func (*ApplyCommand) CredentialsFilePath ¶
func (*ApplyCommand) CredentialsFilePath() string
func (*ApplyCommand) Execute ¶
func (cmd *ApplyCommand) Execute([]string) error
func (*ApplyCommand) RefreshToken ¶
func (*ApplyCommand) RefreshToken() string
type AuthCommand ¶
type AuthCommand struct {
Port int `short:"p" long:"port" default:"8080" description:"localhost port to listen callback request"`
}
func (*AuthCommand) CredentialsFilePath ¶
func (*AuthCommand) CredentialsFilePath() string
func (*AuthCommand) Execute ¶
func (cmd *AuthCommand) Execute(args []string) error
type Command ¶
type Command struct { OutputFormat string `short:"o" long:"output" choice:"yaml" choice:"wide"` CredentialsFilePath string `short:"c" long:"credentials-file" description:"path to OAuth credentials file"` RefreshToken string `short:"t" long:"refresh-token" env:"GMAC_REFRESH_TOKEN" description:"OAuth reflesh token"` Verbose func() error `long:"verbose" description:"show verbose log"` ShowVersion func() error `short:"v" long:"version"` }
type GetCommand ¶
type GetCommand struct { }
type GetFilterCommand ¶
type GetFilterCommand struct { }
func (*GetFilterCommand) CredentialsFilePath ¶
func (*GetFilterCommand) CredentialsFilePath() string
func (*GetFilterCommand) Execute ¶
func (cmd *GetFilterCommand) Execute([]string) error
func (*GetFilterCommand) OutputFormat ¶
func (*GetFilterCommand) OutputFormat() string
func (*GetFilterCommand) RefreshToken ¶
func (*GetFilterCommand) RefreshToken() string
Click to show internal directories.
Click to hide internal directories.