entrypoint

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EntrypointCmd = &cobra.Command{
	Use:   "entrypoint",
	Short: "Copy hyphen-entrypoint.sh to the current folder",
	Long: `
hyphen-entrypoint.sh is a Linux shell script intended to be used in Docker container
environments. On startup, it will set up your container environment variables based
on the deployment environment you have selected.

This command will place a copy of the current hyphen-entrypoint.sh file into the
current folder.
`,
	Args: cobra.NoArgs,
	RunE: func(cmd *cobra.Command, args []string) error {
		printer = cprint.NewCPrinter(flags.VerboseFlag)
		if err := CreateEntrypoint(forceFlag); err != nil {
			return err
		}
		return nil
	},
}

Functions

func CreateEntrypoint

func CreateEntrypoint(force bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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