command

package
v0.22.79 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = []*Command{
	cmdActive,
	cmdApex,
	cmdApiVersion,
	cmdAura,
	cmdBigObject,
	cmdBulk,
	cmdCreate,
	cmdDataPipe,
	cmdDescribe,
	cmdEventLogFile,
	cmdExport,
	cmdFetch,
	cmdField,
	cmdHelp,
	cmdImport,
	cmdLimits,
	cmdLog,
	cmdLogin,
	cmdLogins,
	cmdLogout,
	cmdNotifySet,
	cmdOauth,
	cmdPassword,
	cmdPush,
	cmdQuery,
	cmdRecord,
	cmdRest,
	cmdSecurity,
	cmdSobject,
	cmdTest,
	cmdTrace,
	cmdUpdate,
	cmdUseDXAuth,
	cmdVersion,
	cmdWhoami,
}

Functions

func CurrentEndpoint

func CurrentEndpoint() (endpoint ForceEndpoint, customUrl string, err error)

func FetchManifest

func FetchManifest(entityname string) (manifest BundleManifest)

func FilenameMatchesMetadataName

func FilenameMatchesMetadataName(filename string, metadataName string) bool

func GetDataPipelineId

func GetDataPipelineId(name string) (id string)

func GetManifest

func GetManifest(fname string) (manifest BundleManifest, err error)

func InAuraBundlesFolder

func InAuraBundlesFolder(fname string) bool

func PairsToUrlValues

func PairsToUrlValues(pairs map[string]string) (values url.Values)

func ParseArgumentAttrs

func ParseArgumentAttrs(pairs []string) (parsed map[string]string)

func PrintUsage

func PrintUsage()

func RunTests

func RunTests(testRunner TestRunner, tests []string, namespace string) (output TestCoverage, err error)

func SetTargetDirectory

func SetTargetDirectory(fname string) (dir string, base string)

func Usage

func Usage()

Types

type Command

type Command struct {
	// args does not include the command name
	Run  func(cmd *Command, args []string)
	Flag flag.FlagSet

	Usage string // first word is the command name
	Short string // `forego help` output
	Long  string // `forego help cmd` output
}

func (*Command) List

func (c *Command) List() bool

func (*Command) Name

func (c *Command) Name() string

func (*Command) PrintUsage

func (c *Command) PrintUsage()

func (*Command) Runnable

func (c *Command) Runnable() bool

type CustomObject

type CustomObject struct {
	// contains filtered or unexported fields
}

type FLS

type FLS struct {
	// contains filtered or unexported fields
}

type OLS

type OLS struct {
	// contains filtered or unexported fields
}

type Profile

type Profile struct {
	// contains filtered or unexported fields
}

type XLS

type XLS interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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