init

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MPL-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SelefraInputInitForceConfirm     = "SELEFRA_INPUT_INIT_FORCE_CONFIRM"
	SelefraInputInitRelevanceProject = "SELEFRA_INPUT_INIT_RELEVANCE_PROJECT"
)

Variables

This section is empty.

Functions

func NewInitCmd

func NewInitCmd() *cobra.Command

Types

type InitCommandExecutor added in v0.0.9

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

func NewInitCommandExecutor added in v0.0.9

func NewInitCommandExecutor(options *InitCommandExecutorOptions) *InitCommandExecutor

func (*InitCommandExecutor) GetConnectionBlock added in v0.0.9

func (x *InitCommandExecutor) GetConnectionBlock() *module.ConnectionBlock

TODO Automatically installs and starts the database and sets connection items

func (*InitCommandExecutor) Run added in v0.0.9

type InitCommandExecutorOptions added in v0.0.9

type InitCommandExecutorOptions struct {

	// Where to put the downloaded file
	DownloadWorkspace string

	// Which path to initialize as the working directory for your project
	ProjectWorkspace string

	// Whether to force the initialization of the working directory
	IsForceInit bool

	// Which project in the cloud you want to associate with
	RelevanceProject string

	// The database link to use
	DSN string
}

InitCommandExecutorOptions The execution options of the executor that executes the initialization command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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