detach

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 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 docs/development/specs/2026-07-29-external-command-attachment.md.

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