initcmd

package
v3.0.0-...-86bc622 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package initcmd implements the 'pinact init' command. This package is responsible for generating pinact configuration files (.pinact.yaml) with default settings to help users quickly set up pinact in their repositories. It creates configuration templates that define target workflow files and action ignore patterns for the pinning process.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger *slogutil.Logger, globalFlags *gflag.GlobalFlags) *cli.Command

New creates a new init command instance with the provided logger. It returns a CLI command that can be registered with the main CLI application.

Types

type Flags

type Flags struct {
	*gflag.GlobalFlags

	Args     []string
	FirstArg string
}

Jump to

Keyboard shortcuts

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