run

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RunCmd = &cobra.Command{
	Use:   "run [pkg](:[binary]) [args...]",
	Short: "run installed packages",
	Long: `
The "run" subcommand runs the installed package binary with the name of the package by default,
or a binary name given after the colon.`,
	Example: `webman run go
webman run bat [FILE]
webman run go@18.0.0
webman run node@17.0.0 --version
webman run node@17.0.0:npm --version
webman run node:npm --version`,
	RunE: func(cmd *cobra.Command, args []string) error {
		if len(args) == 0 {
			return cmd.Help()
		}
		return runPackage(args)
	},
	DisableFlagParsing: true,
}

runCmd represents the run command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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