utils

package
v0.0.0-...-4ad4c41 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "entrypoint",
	Short: "Generic entrypoint program",
	Long:  "An entry for tasks to be executed in a unified order",
	PreRunE: func(cmd *cobra.Command, args []string) error {
		return entryFlags.validate()
	},
	RunE: func(cmd *cobra.Command, args []string) error {
		var err error
		if err = watchWaitFile(); err != nil {
			return err
		}
		return execCmdAndArgs(args)
	},
}

Functions

This section is empty.

Types

type EntryFlags

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

Jump to

Keyboard shortcuts

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