svc

package
v0.3.11-beta Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:                "svc",
	Short:              "Orchestrates global services such as traefik, portainer and dnsmasq via docker-compose",
	Long:               `Orchestrates global services such as traefik, portainer and dnsmasq via docker-compose`,
	ValidArgsFunction:  core.DockerComposeCompleter(),
	DisableFlagParsing: true,
	PreRunE: func(cmd *cobra.Command, args []string) error {
		if err := commands.CheckIfInstalled(); err != nil {
			return err
		}

		if err := core.CheckDocker(); err != nil {
			return err
		}

		return nil
	},
	RunE: func(cmd *cobra.Command, args []string) error {
		return commands.SvcCmd(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