cmd

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Copyright © 2023 Melkey melkeydev@gmail.com

Go blueprint version

Index

Constants

This section is empty.

Variables

View Source
var GoBlueprintVersion string

GoBlueprintVersion is the version of the cli to be overwritten by goreleaser in the CI run with the version of the release in github

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Options added in v0.3.0

type Options struct {
	ProjectName *textinput.Output
	ProjectType *multiInput.Selection
	DBDriver    *multiInput.Selection
	Advanced    *multiSelect.Selection
	Workflow    *multiInput.Selection
	Git         *multiInput.Selection
}

Directories

Path Synopsis
Package program provides the main functionality of Blueprint
Package program provides the main functionality of Blueprint
Package steps provides utility for creating each step of the CLI
Package steps provides utility for creating each step of the CLI
framework
Package template provides utility functions that help with the templating of created files.
Package template provides utility functions that help with the templating of created files.
ui
multiInput
Package multiInput provides functions that help define and draw a multi-input step
Package multiInput provides functions that help define and draw a multi-input step
multiSelect
Package multiSelect provides functions that help define and draw a multi-select step
Package multiSelect provides functions that help define and draw a multi-select step
textinput
Package textinput provides functions that help define and draw a text-input step
Package textinput provides functions that help define and draw a text-input step
Package utils provides extra utility for the program
Package utils provides extra utility for the program

Jump to

Keyboard shortcuts

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