Help us shape the future of Go! Take the 2026 Go Developer Survey

detach

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package detach is the gtb-only `detach` command — the inverse of `attach`. It removes a declarative external-command attachment from a generated project's manifest and re-renders the root so its wiring is dropped; on a real filesystem `go mod tidy` then prunes the now-unused module require.

This package lives under internal/cmd/ because the commands belong to the framework author, not downstream consumers. See https://gitlab.com/phpboyscout/go-tool-base/-/wikis/specs/0182-external-command-attachment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDetach

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

NewCmdDetach returns the top-level `gtb detach` command with its command subcommand.

Types

This section is empty.

Jump to

Keyboard shortcuts

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