ignore

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package ignore is the gtb-only `ignore` command group. It manages a generated project's .gtb/ignore rules — the file that marks deliberately diverged generated files hands-off so `regenerate` stops re-rendering them and stops raising conflicts.

Unlike `gtb template`, the ignore verbs do NOT regenerate: the ignore file is read fresh on the next `regenerate`, and editing it changes nothing already on disk. So `add`/`remove` are pure file edits and `--dry-run` means "show the resulting file", not "simulate a regenerate". See https://gitlab.com/phpboyscout/go-tool-base/-/wikis/specs/0181-ignore-command-and-discoverability.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdIgnore

func NewCmdIgnore(p *props.Props) *setup.Command

NewCmdIgnore returns the top-level `gtb ignore` command group with its subcommands attached. Mirrors the shape of internal/cmd/template so the gtb root composes it the same way.

Types

This section is empty.

Jump to

Keyboard shortcuts

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