shell

package
v0.3.18-beta Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "shell [command]",
	Short: "Launches into a shell within the current project environment",
	Long:  `Launches into a shell within the current project environment`,
	ValidArgsFunction: func(cmd *cobra.Command, args []string, toComplete string) (
		[]string, cobra.ShellCompDirective,
	) {
		return nil, cobra.ShellCompDirectiveNoFileComp
	},

	PreRunE: func(cmd *cobra.Command, args []string) error {
		err := commands.EnvCheck()

		return err
	},
	RunE: func(cmd *cobra.Command, args []string) error {

		return commands.ShellCmd(cmd, args)
	},
}

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