command

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: MIT Imports: 36 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,
	cmdOpen,
	cmdPackage,
	cmdPassword,
	cmdPush,
	cmdQuery,
	cmdQuickDeploy,
	cmdRecord,
	cmdRest,
	cmdSecurity,
	cmdSobject,
	cmdTest,
	cmdTrace,
	cmdUseDXAuth,
	cmdVersion,
	cmdWhoami,
}

Functions

func CurrentEndpoint

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

func CurrentEndpointUrl added in v0.26.5

func CurrentEndpointUrl() (endpoint string, err error)

func FetchManifest

func FetchManifest(entityname string) (manifest BundleManifest)

func FilenameMatchesMetadataName

func FilenameMatchesMetadataName(filename string, metadataName string) bool

func GenerateResults added in v0.23.0

func GenerateResults(output TestCoverage) string

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 QualifyMethods added in v0.22.83

func QualifyMethods(class string, methods []string) []string

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 SplitCSV added in v0.22.81

func SplitCSV(csvFilePath string, batchsize int) (batches []string, err error)

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
	MaxExpectedArgs int    // the maximum number of arguments this command expects, -1 if it is variadic
}

func (*Command) InvalidInvocation added in v0.27.0

func (c *Command) InvalidInvocation(args []string)

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