gitlab

package
v0.0.0-...-9890bc2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package gitlab holds the "dpfdev gitlab" command group: subcommands that talk to the GitLab API (pipeline schedules today, runners and others over time). The root command wires Cmd in.

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "gitlab",
	Short: "Commands that interact with the GitLab API",
	Long:  `Commands that interact with the GitLab API, such as managing scheduled pipelines.`,

	PersistentPreRun: func(cmd *cobra.Command, _ []string) {
		if debug, _ := cmd.Flags().GetBool("debug"); debug {
			debugEnabled = true
			slog.SetDefault(slog.New(slog.NewTextHandler(os.Stderr, &slog.HandlerOptions{Level: slog.LevelDebug})))
		}
	},
}

Cmd is the parent "gitlab" command. Subcommands attach to it in their own init functions.

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