cmd

package
v1.3.11 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: MIT Imports: 71 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccountLineItems = &cobra.Command{}
)
View Source
var (
	ActionNotificationExportResults = &cobra.Command{}
)
View Source
var (
	ActionNotificationExports = &cobra.Command{}
)
View Source
var (
	ActionWebhookFailures = &cobra.Command{}
)
View Source
var (
	Actions = &cobra.Command{}
)
View Source
var (
	ApiKeys = &cobra.Command{}
)
View Source
var (
	Apps = &cobra.Command{}
)
View Source
var (
	As2IncomingMessages = &cobra.Command{}
)
View Source
var (
	As2OutgoingMessages = &cobra.Command{}
)
View Source
var (
	As2Partners = &cobra.Command{}
)
View Source
var (
	As2Stations = &cobra.Command{}
)
View Source
var (
	AutomationRuns = &cobra.Command{}
)
View Source
var (
	Automations = &cobra.Command{}
)
View Source
var (
	Autos = &cobra.Command{}
)
View Source
var (
	BandwidthSnapshots = &cobra.Command{}
)
View Source
var (
	Behaviors = &cobra.Command{}
)
View Source
var (
	BundleDownloads = &cobra.Command{}
)
View Source
var (
	BundleRecipients = &cobra.Command{}
)
View Source
var (
	BundleRegistrations = &cobra.Command{}
)
View Source
var (
	Bundles = &cobra.Command{}
)
View Source
var (
	Clickwraps = &cobra.Command{}
)
View Source
var (
	Config = &cobra.Command{
		Use:  "config",
		Args: cobra.ExactArgs(0),
		Run:  func(cmd *cobra.Command, args []string) {},
	}
)
View Source
var (
	DnsRecords = &cobra.Command{}
)
View Source
var (
	Errors = &cobra.Command{}
)
View Source
var (
	ExternalEvents = &cobra.Command{}
)
View Source
var (
	FileActions = &cobra.Command{}
)
View Source
var (
	FileCommentReactions = &cobra.Command{}
)
View Source
var (
	FileComments = &cobra.Command{}
)
View Source
var (
	FileMigrations = &cobra.Command{}
)
View Source
var (
	FileUploadParts = &cobra.Command{}
)
View Source
var (
	Files = &cobra.Command{}
)
View Source
var (
	Folders = &cobra.Command{}
)
View Source
var (
	FormFieldSets = &cobra.Command{}
)
View Source
var (
	FormFields = &cobra.Command{}
)
View Source
var (
	GroupUsers = &cobra.Command{}
)
View Source
var (
	Groups = &cobra.Command{}
)
View Source
var (
	Histories = &cobra.Command{}
)
View Source
var (
	HistoryExportResults = &cobra.Command{}
)
View Source
var (
	HistoryExports = &cobra.Command{}
)
View Source
var (
	Images = &cobra.Command{}
)
View Source
var (
	InboxRecipients = &cobra.Command{}
)
View Source
var (
	InboxRegistrations = &cobra.Command{}
)
View Source
var (
	InboxUploads = &cobra.Command{}
)
View Source
var (
	InvoiceLineItems = &cobra.Command{}
)
View Source
var (
	Invoices = &cobra.Command{}
)
View Source
var (
	IpAddresses = &cobra.Command{}
)
View Source
var (
	Locks = &cobra.Command{}
)
View Source
var LogOut = &cobra.Command{
	Use:  "logout",
	Args: cobra.ExactArgs(0),
	Run: func(cmd *cobra.Command, args []string) {
		_, err := session.Delete(cmd.Context())
		if err != nil {
			fmt.Println(err)
			os.Exit(1)
		}

		config := lib.Config{}
		err = config.Load()
		if err != nil {
			fmt.Println(err)
			os.Exit(1)
		}

		config.SessionId = ""
		config.Save()
	},
}
View Source
var Login = &cobra.Command{
	Use:  "login",
	Args: cobra.ExactArgs(0),
	Run: func(cmd *cobra.Command, args []string) {
		config := &lib.Config{}
		err := config.Load()
		if err != nil {
			fmt.Println(err)
			os.Exit(1)
		}
		err = lib.CreateSession(files.SessionCreateParams{}, *config, cmd.OutOrStdout())
		if err != nil {
			fmt.Println(err)
			os.Exit(1)
		}
	},
}
View Source
var (
	MessageCommentReactions = &cobra.Command{}
)
View Source
var (
	MessageComments = &cobra.Command{}
)
View Source
var (
	MessageReactions = &cobra.Command{}
)
View Source
var (
	Messages = &cobra.Command{}
)
View Source
var (
	Notifications = &cobra.Command{}
)
View Source
var (
	PaymentLineItems = &cobra.Command{}
)
View Source
var (
	Payments = &cobra.Command{}
)
View Source
var (
	Permissions = &cobra.Command{}
)
View Source
var (
	Previews = &cobra.Command{}
)
View Source
var (
	Priorities = &cobra.Command{}
)
View Source
var (
	Projects = &cobra.Command{}
)
View Source
var (
	PublicIpAddresses = &cobra.Command{}
)
View Source
var (
	PublicKeys = &cobra.Command{}
)
View Source
var (
	RemoteServers = &cobra.Command{}
)
View Source
var (
	Requests = &cobra.Command{}
)
View Source
var (
	Sessions = &cobra.Command{}
)
View Source
var (
	SettingsChanges = &cobra.Command{}
)
View Source
var (
	Sites = &cobra.Command{}
)
View Source
var (
	SsoStrategies = &cobra.Command{}
)
View Source
var (
	Statuses = &cobra.Command{}
)
View Source
var (
	Styles = &cobra.Command{}
)
View Source
var (
	Sync = &cobra.Command{
		Use:  "sync",
		Args: cobra.ExactArgs(1),
	}
)
View Source
var (
	SyncJobs = &cobra.Command{}
)
View Source
var (
	UsageDailySnapshots = &cobra.Command{}
)
View Source
var (
	UsageSnapshots = &cobra.Command{}
)
View Source
var (
	UserCipherUses = &cobra.Command{}
)
View Source
var (
	UserRequests = &cobra.Command{}
)
View Source
var (
	Users = &cobra.Command{}
)
View Source
var (
	WebhookTests = &cobra.Command{}
)

Functions

func AccountLineItemsInit

func AccountLineItemsInit()

func ActionNotificationExportResultsInit added in v1.0.843

func ActionNotificationExportResultsInit()

func ActionNotificationExportsInit added in v1.0.843

func ActionNotificationExportsInit()

func ActionWebhookFailuresInit added in v1.0.1483

func ActionWebhookFailuresInit()

func ActionsInit

func ActionsInit()

func ApiKeysInit

func ApiKeysInit()

func AppsInit

func AppsInit()

func As2IncomingMessagesInit added in v1.3.11

func As2IncomingMessagesInit()

func As2OutgoingMessagesInit added in v1.3.11

func As2OutgoingMessagesInit()

func As2PartnersInit added in v1.3.11

func As2PartnersInit()

func As2StationsInit added in v1.3.11

func As2StationsInit()

func AutomationRunsInit added in v1.1.1672

func AutomationRunsInit()

func AutomationsInit

func AutomationsInit()

func AutosInit

func AutosInit()

func BandwidthSnapshotsInit added in v1.0.2

func BandwidthSnapshotsInit()

func BehaviorsInit

func BehaviorsInit()

func BundleDownloadsInit

func BundleDownloadsInit()

func BundleRecipientsInit

func BundleRecipientsInit()

func BundleRegistrationsInit added in v1.0.127

func BundleRegistrationsInit()

func BundlesInit

func BundlesInit()

func ClickwrapsInit

func ClickwrapsInit()

func ConfigInit added in v1.0.170

func ConfigInit()

func DnsRecordsInit

func DnsRecordsInit()

func DownloadCmd added in v1.0.25

func DownloadCmd() *cobra.Command

func ErrorsInit

func ErrorsInit()

func ExternalEventsInit added in v1.0.18

func ExternalEventsInit()

func FileActionsInit

func FileActionsInit()

func FileCommentReactionsInit

func FileCommentReactionsInit()

func FileCommentsInit

func FileCommentsInit()

func FileMigrationsInit added in v1.0.1504

func FileMigrationsInit()

func FileUploadPartsInit added in v1.0.31

func FileUploadPartsInit()

func FilesInit

func FilesInit()

func FoldersInit

func FoldersInit()

func FormFieldSetsInit added in v1.0.127

func FormFieldSetsInit()

func FormFieldsInit added in v1.0.127

func FormFieldsInit()

func GroupUsersInit

func GroupUsersInit()

func GroupsInit

func GroupsInit()

func HistoriesInit

func HistoriesInit()

func HistoryExportResultsInit added in v1.0.5

func HistoryExportResultsInit()

func HistoryExportsInit

func HistoryExportsInit()

func ImagesInit

func ImagesInit()

func InboxRecipientsInit added in v1.0.150

func InboxRecipientsInit()

func InboxRegistrationsInit added in v1.0.127

func InboxRegistrationsInit()

func InboxUploadsInit added in v1.0.127

func InboxUploadsInit()

func InvoiceLineItemsInit

func InvoiceLineItemsInit()

func InvoicesInit

func InvoicesInit()

func IpAddressesInit

func IpAddressesInit()

func LocksInit

func LocksInit()

func MessageCommentReactionsInit

func MessageCommentReactionsInit()

func MessageCommentsInit

func MessageCommentsInit()

func MessageReactionsInit

func MessageReactionsInit()

func MessagesInit

func MessagesInit()

func NotificationsInit

func NotificationsInit()

func PaymentLineItemsInit

func PaymentLineItemsInit()

func PaymentsInit

func PaymentsInit()

func PermissionsInit

func PermissionsInit()

func PreviewsInit

func PreviewsInit()

func PrioritiesInit added in v1.1.1668

func PrioritiesInit()

func ProjectsInit

func ProjectsInit()

func PublicIpAddressesInit

func PublicIpAddressesInit()

func PublicKeysInit

func PublicKeysInit()

func RemoteServersInit

func RemoteServersInit()

func RequestsInit

func RequestsInit()

func SessionsInit

func SessionsInit()

func SettingsChangesInit

func SettingsChangesInit()

func SitesInit

func SitesInit()

func SsoStrategiesInit

func SsoStrategiesInit()

func StatusesInit

func StatusesInit()

func StylesInit

func StylesInit()

func SyncInit added in v1.2.0

func SyncInit() *cobra.Command

func SyncJobsInit added in v1.0.644

func SyncJobsInit()

func UploadCmd added in v1.0.25

func UploadCmd() *cobra.Command

func UsageDailySnapshotsInit

func UsageDailySnapshotsInit()

func UsageSnapshotsInit

func UsageSnapshotsInit()

func UserCipherUsesInit

func UserCipherUsesInit()

func UserRequestsInit

func UserRequestsInit()

func UsersInit

func UsersInit()

func VersionCmd added in v1.0.25

func VersionCmd(Version string) *cobra.Command

func WebhookTestsInit added in v1.0.502

func WebhookTestsInit()

Types

This section is empty.

Jump to

Keyboard shortcuts

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