cmd

package
v0.2.22 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
)

Functions

func Execute

func Execute()

Execute runs the root command

func GetRootCmd

func GetRootCmd() *cobra.Command

GetRootCmd returns the root command (useful for testing)

Types

type DockerHelper

type DockerHelper interface {
	GetServices(projectDir string, profiles ...string) ([]string, error)
	RunCommand(projectDir string, args ...string) error
	GetContainers() ([]string, error)
}

DockerHelper defines the interface for Docker operations

type GitHelper

type GitHelper interface {
	IsGitRepo(path string) bool
	CheckoutBranch(path, branch string) error
	ResetHard(path, branch string) error
	FetchOrigin(path string) error
}

GitHelper defines the interface for Git operations

Jump to

Keyboard shortcuts

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