pluginmigrate

package
v0.18.5 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package pluginmigrate implements the interactive `project autofix composer-plugins` wizard: it scans custom/ for extensions Composer does not manage, classifies them against the Shopware Store packagist, and migrates them (Store requires or path repositories) with rollback on failure. All backend logic lives in internal/shop/pluginmigrate, imported here as `migrate`; this package renders panels as app.Content hosted by the internal/tui/app shell.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApp

func NewApp(opts Options) *app.App

NewApp assembles the wizard inside the application shell.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

Model is the wizard screen hosted by the app shell.

func New

func New(opts Options) *Model

New creates the wizard model starting at the welcome panel.

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) Update

func (m *Model) Update(msg tea.Msg) (app.Content, tea.Cmd)

func (*Model) View

func (m *Model) View(ctx app.Context) string

View renders the main region: mascot cards for welcome/done, the wizard frame for the working panels.

type Options

type Options struct {
	ProjectRoot string
	Executor    executor.Executor
}

Options wire the wizard to a project.

Jump to

Keyboard shortcuts

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