cmd

package
v0.0.0-...-115b5aa Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PayloadPath = "PayloadPath"
)

Variables

View Source
var RootCmd = &cobra.Command{
	Use: "go-notify",
	Short: "A CLI for an email automation solution: go-notify that facilitate users to register, send & schedule custom HTML mails for their clients. \n" +
		"Few command's input would be a json file. Please refer payloadSample.js or swagger api document to determine the input payload for those commands",
}

Cobra root command ...

Functions

This section is empty.

Types

type ApiResponse

type ApiResponse struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

type Config

type Config struct {
	Token string `json:"token"`
}

type LoginResponse

type LoginResponse struct {
	Status  string `json:"status"`
	Message string `json:"message"`
	Token   string `json:"token"`
}

Jump to

Keyboard shortcuts

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