bootstrap

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

internal/bootstrap/steps.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloneRepoStep

type CloneRepoStep struct {
	ExecClient *exec.ExecutorClient
	Presenter  workflow.PresenterInterface
	CloneURL   string
	LocalPath  string
}

func (*CloneRepoStep) Description

func (s *CloneRepoStep) Description() string

func (*CloneRepoStep) Execute

func (s *CloneRepoStep) Execute(ctx context.Context) error

func (*CloneRepoStep) PreCheck

func (s *CloneRepoStep) PreCheck(ctx context.Context) error

type CreateRemoteRepoStep

type CreateRemoteRepoStep struct {
	GHClient        *gh.Client
	Presenter       workflow.PresenterInterface
	Owner           string // ADDED Owner field
	RepoName        string
	RepoDescription string
	IsPrivate       bool
	// Outputs of this step to be used by subsequent steps
	CreatedRepoURL string
	CloneURL       string
}

func (*CreateRemoteRepoStep) Description

func (s *CreateRemoteRepoStep) Description() string

func (*CreateRemoteRepoStep) Execute

func (s *CreateRemoteRepoStep) Execute(ctx context.Context) error

func (*CreateRemoteRepoStep) PreCheck

func (s *CreateRemoteRepoStep) PreCheck(ctx context.Context) error

type InitialCommitAndPushStep

type InitialCommitAndPushStep struct {
	ExecClient *exec.ExecutorClient
	Presenter  workflow.PresenterInterface
	LocalPath  string
}

func (*InitialCommitAndPushStep) Description

func (s *InitialCommitAndPushStep) Description() string

func (*InitialCommitAndPushStep) Execute

func (*InitialCommitAndPushStep) PreCheck

func (s *InitialCommitAndPushStep) PreCheck(ctx context.Context) error

type ScaffoldProjectStep

type ScaffoldProjectStep struct {
	Presenter    workflow.PresenterInterface
	LocalPath    string
	GoModulePath string
	AppName      string
}

func (*ScaffoldProjectStep) Description

func (s *ScaffoldProjectStep) Description() string

func (*ScaffoldProjectStep) Execute

func (s *ScaffoldProjectStep) Execute(ctx context.Context) error

func (*ScaffoldProjectStep) PreCheck

func (s *ScaffoldProjectStep) PreCheck(ctx context.Context) error

Jump to

Keyboard shortcuts

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