Documentation
¶
Overview ¶
19 types
Index ¶
- func AddContentToEachLineInFile(filePath string, predicate func(string) string) error
- func AddContentToFile(filePath, valueToAdd string, positon string) error
- func ArrayContainsAny(contentSlice, targetSlice []string) bool
- func CDToAngularApp()
- func CDToAppiumSuite()
- func CDToExpoApp()
- func CDToFirebaseApp()
- func CDToFlaskApp()
- func CDToFlutterApp()
- func CDToLaravelApp()
- func CDToLocation(location string, opts ...interface{})
- func CDToSeleniumSuite()
- func CDToShopifyApp()
- func CDToWorkspaceRoot()
- func CDToWxtApp()
- func CleanJSON(data []byte) ([]byte, error)
- func ClearScreen()
- func CompileGlobs(patterns []string) []glob.Glob
- func ContainsAny(s string, substrs []string) bool
- func ConvertPathToOSFormat(inputPath string) string
- func ConvertToBoolArray(input []interface{}) []bool
- func ConvertToByteArray(input []interface{}) []byte
- func ConvertToComplex128Array(input []interface{}) []complex128
- func ConvertToComplex64Array(input []interface{}) []complex64
- func ConvertToFloat32Array(input []interface{}) []float32
- func ConvertToFloat64Array(input []interface{}) []float64
- func ConvertToInt16Array(input []interface{}) []int16
- func ConvertToInt32Array(input []interface{}) []int32
- func ConvertToInt64Array(input []interface{}) []int64
- func ConvertToInt8Array(input []interface{}) []int8
- func ConvertToIntArray(input []interface{}) []int
- func ConvertToInterfaceArray[T any](input []T) []interface{}
- func ConvertToRuneArray(input []interface{}) []rune
- func ConvertToStringArray(input []interface{}) []string
- func ConvertToStringBoolMap(originalMap map[string]interface{}) map[string]bool
- func ConvertToStringComplex128Map(originalMap map[string]interface{}) map[string]complex128
- func ConvertToStringComplex64Map(originalMap map[string]interface{}) map[string]complex64
- func ConvertToStringErrorMap(originalMap map[string]interface{}) map[string]error
- func ConvertToStringFloat32Map(originalMap map[string]interface{}) map[string]float32
- func ConvertToStringFloat64Map(originalMap map[string]interface{}) map[string]float64
- func ConvertToStringInt16Map(originalMap map[string]interface{}) map[string]int16
- func ConvertToStringInt32Map(originalMap map[string]interface{}) map[string]int32
- func ConvertToStringInt64Map(originalMap map[string]interface{}) map[string]int64
- func ConvertToStringInt8Map(originalMap map[string]interface{}) map[string]int8
- func ConvertToStringIntMap(originalMap map[string]interface{}) map[string]int
- func ConvertToStringInterfaceMap(originalMap map[string]interface{}) map[string]string
- func ConvertToStringStringMap(originalMap map[string]interface{}) map[string]string
- func ConvertToStringUint16Map(originalMap map[string]interface{}) map[string]uint16
- func ConvertToStringUint32Map(originalMap map[string]interface{}) map[string]uint32
- func ConvertToStringUint64Map(originalMap map[string]interface{}) map[string]uint64
- func ConvertToStringUint8Map(originalMap map[string]interface{}) map[string]uint8
- func ConvertToUint16Array(input []interface{}) []uint16
- func ConvertToUint32Array(input []interface{}) []uint32
- func ConvertToUint64Array(input []interface{}) []uint64
- func ConvertToUint8Array(input []interface{}) []uint8
- func ConvertToUintArray(input []interface{}) []uint
- func CopyDir(src, dest string) error
- func CopyFile(src, dest string) error
- func CopySelectFilesToDestination(c CopySelectFilesToDestinationStruct) error
- func CreateTasksJson(tasksJsonFilePath string, triedCreateOnError bool) ([]byte, error, bool)
- func DecreaseChannelBatchFn(i int, batchSize int, batchDone chan bool, targetArray []string)
- func DownloadFile(url, localPath string) error
- func EnsureDirAndCreateFile(filePath string) (*os.File, error)
- func ExtractArchive(archiveURL string, removeArchiveFile bool) stringdeprecated
- func ExtractArchiveWithOptions(options ExtractArchiveOptions) string
- func ExtractBranchNames(input string) []string
- func FilterArray[T any](arr []T, condition func(interface{}, int) bool) []interface{}
- func FilterFilesByExtension(files []string, extensions []string, include bool) []string
- func FilterJSONByPredicate(inputJSON []byte, predicate func(key string, value interface{}) bool) ([]byte, error)
- func FilterMap[T any](originalMap map[string]T, predicate func(string, T) bool) map[string]interface{}
- func FindElement[T any](arr []T, predicate func(T) bool) (int, T, error)
- func FindExecutable(executablePrefix, searchDir string) string
- func FindRelativeToTarget(args []string, target string, offset int) (string, bool)
- func FolderExists(path string) bool
- func GetCurrentBranch() (string, error)
- func GetCurrentPath() string
- func GetDownloadURLForCurrentOS(release *GitHubRelease) (string, error)
- func GetFilePathFromPackage(fullPath string) (string, error)
- func GetInputFromStdin(obj GetInputFromStdinStruct) string
- func GetItemsInFolder(folderPath string) ([]string, error)
- func GetItemsInFolderRecursive(folderPath string, recursive bool) ([]string, error)
- func GetParamValue(parameterName string, parameterValue interface{}) interface{}
- func GetSourceFilePath() (string, error)
- func GetType(value interface{}) string
- func GitSparseClone(repoURL string, localDir string, subdirectories ...string) error
- func HasPrefixInArray(str string, prefixes []string, removeSuffix bool) string
- func HasSuffixInArray(str string, suffixes []string, removeSuffix bool) string
- func IntToStr(val int) string
- func IsFileOrFolder(path string) (string, error)
- func IsRunningInDocker() bool
- func JoinAndConvertPathToOSFormat(inputPathParts ...string) string
- func JoinArgs(args []string) string
- func KillPorts(options KillPortsOptions)
- func LogErrorWithTraceBack(message string, err error)
- func MatchAnyGlob(globs []glob.Glob, path string) bool
- func MergeDirectories(sourceDir, targetDir string, overwrite bool) error
- func OverwriteFile(filePath string, content string) error
- func OverwriteMap[T any](targetMap, newMap map[string]T)
- func ParseJSONFromString[T any](jsonString string, target *T) error
- func ProcessFilesMatchingPattern(directory, pattern string, predicateFn func(string)) error
- func ProcessFoldersMatchingPattern(directory, pattern string, predicateFn func(string)) error
- func ReadFile(filePath string) (string, error)
- func ReadFileFromPackage(fullPath string) (string, error)
- func ReadLines(filePath string) (map[string]bool, error)
- func RemoveContentFromFile(filePath string, contentToRemove []string) error
- func RemoveDrivePath(folderPath string) string
- func RemoveDuplicates[T constraints.Ordered](items []T) []T
- func RemoveElementsNotInSource[T comparable](source, toRemove []T) []T
- func RemovePathPrefix(path string, prefixArray []string) string
- func ReplaceAllSubstrings(input string, target string, replacement string) string
- func Reverse(targetArray []string) []string
- func RunCommand(command string, args []string)
- func RunCommandAndGetOutput(command string, args []string) stringdeprecated
- func RunCommandInSpecifcDirectoryAndGetOutput(command string, args []string, targetDir string) stringdeprecated
- func RunCommandInSpecificDirectory(command string, args []string, targetDir string)deprecated
- func RunCommandWithOptions(options CommandOptions) (string, error)
- func RunElevatedCommand(command string, args []string) errordeprecated
- func SetGlobalVars(options SetGlobalVarsOptions)
- func ShowMenu(cliInfo ShowMenuModel, enableOtherOption interface{}) string
- func ShowMenuMultipleOptions(cliInfo ShowMenuMultipleModel, enableOtherOption interface{}) []string
- func TraverseDirectory(config TraverseDirectoryParams) error
- func TruncateStringByRegex(options TruncateStringByRegexOptions) string
- func UnicodeUnquote(bs []byte) []byte
- func WatchDirectory(options WatchDirectoryParams)
- func WriteCustomFormattedJSONToFile(data interface{}, filename string, indentString string) error
- func WriteFormattoJSONFile(data interface{}, filename string)
- type AngularDeployToFirebaseStruct
- type AngularFrontendStruct
- type CommandOptions
- type CopySelectFilesToDestinationStruct
- type CreateStringObjectType
- type DualWriter
- type ExtractArchiveOptions
- type FirebaseCloudRunEmulatorsStruct
- type FlutterMobileBuildStruct
- type GetInputFromStdinStruct
- type GetTestNGArgsStruct
- type GitCloneSubdirsStruct
- type GitHubRelease
- type GitPushingWorkToGitRemoteStruct
- type KillPortsOptions
- type KillPortsProcessInfo
- type MiscOptimizeImagesStruct
- type MiscReinitializeProjectStruct
- type MiscTranslateJsonStruct
- type NPMInstallAppDepsStruct
- type NPMInstallSpecifcPackagesStruct
- type ProcessIfDefaultIsPresentStruct
- type PythonInstallAppDepsStruct
- type PythonInstallSpecifcPackagesStruct
- type ReactNativeExpoMobileBuildStruct
- type SetGlobalVarsOptions
- type ShellCommandOutput
- type ShopifyRunStruct
- type ShowMenuModel
- type ShowMenuMultipleModel
- type TakeVariableArgsResultStruct
- type TakeVariableArgsStruct
- type TestNGE2ECreatePageStruct
- type TraverseDirectoryParams
- type TruncateStringByRegexOptions
- type VSCodeSettings
- type VSCodeTasksCommandOptions
- type VSCodeTasksDynamicTasksJSON
- type VSCodeTasksInput
- type VSCodeTasksMetadata
- type VSCodeTasksRunOptions
- type VSCodeTasksShellOptions
- type VSCodeTasksTask
- type VSCodeTasksTasksJSON
- type WMLPorts
- type WatchDirectoryParams
- type WindmillcodeExtensionPack
- type WxtBuildSafariStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddContentToFile ¶
func ArrayContainsAny ¶
func CDToAngularApp ¶
func CDToAngularApp()
func CDToAppiumSuite ¶ added in v6.2.0
func CDToAppiumSuite()
func CDToExpoApp ¶ added in v6.1.0
func CDToExpoApp()
func CDToFirebaseApp ¶
func CDToFirebaseApp()
func CDToFlaskApp ¶
func CDToFlaskApp()
func CDToFlutterApp ¶
func CDToFlutterApp()
func CDToLaravelApp ¶ added in v6.0.2
func CDToLaravelApp()
func CDToLocation ¶
func CDToLocation(location string, opts ...interface{})
func CDToSeleniumSuite ¶ added in v6.2.0
func CDToSeleniumSuite()
func CDToShopifyApp ¶
func CDToShopifyApp()
func CDToWorkspaceRoot ¶
func CDToWorkspaceRoot()
func CDToWxtApp ¶
func CDToWxtApp()
func CompileGlobs ¶
CompileGlobs compiles the string patterns into glob.Glob objects.
func ContainsAny ¶
func ConvertPathToOSFormat ¶
func ConvertToBoolArray ¶
func ConvertToBoolArray(input []interface{}) []bool
func ConvertToByteArray ¶
func ConvertToByteArray(input []interface{}) []byte
func ConvertToComplex128Array ¶
func ConvertToComplex128Array(input []interface{}) []complex128
func ConvertToComplex64Array ¶
func ConvertToComplex64Array(input []interface{}) []complex64
func ConvertToFloat32Array ¶
func ConvertToFloat32Array(input []interface{}) []float32
func ConvertToFloat64Array ¶
func ConvertToFloat64Array(input []interface{}) []float64
func ConvertToInt16Array ¶
func ConvertToInt16Array(input []interface{}) []int16
func ConvertToInt32Array ¶
func ConvertToInt32Array(input []interface{}) []int32
func ConvertToInt64Array ¶
func ConvertToInt64Array(input []interface{}) []int64
func ConvertToInt8Array ¶
func ConvertToInt8Array(input []interface{}) []int8
func ConvertToIntArray ¶
func ConvertToIntArray(input []interface{}) []int
func ConvertToInterfaceArray ¶
func ConvertToInterfaceArray[T any](input []T) []interface{}
func ConvertToRuneArray ¶
func ConvertToRuneArray(input []interface{}) []rune
func ConvertToStringArray ¶
func ConvertToStringArray(input []interface{}) []string
func ConvertToStringBoolMap ¶
func ConvertToStringComplex128Map ¶
func ConvertToStringComplex128Map(originalMap map[string]interface{}) map[string]complex128
func ConvertToStringErrorMap ¶
func ConvertToStringInt16Map ¶
func ConvertToStringInt32Map ¶
func ConvertToStringInt64Map ¶
func ConvertToStringInt8Map ¶
func ConvertToStringIntMap ¶
func ConvertToStringUint8Map ¶
func ConvertToUint16Array ¶
func ConvertToUint16Array(input []interface{}) []uint16
func ConvertToUint32Array ¶
func ConvertToUint32Array(input []interface{}) []uint32
func ConvertToUint64Array ¶
func ConvertToUint64Array(input []interface{}) []uint64
func ConvertToUint8Array ¶
func ConvertToUint8Array(input []interface{}) []uint8
func ConvertToUintArray ¶
func ConvertToUintArray(input []interface{}) []uint
func CopySelectFilesToDestination ¶
func CopySelectFilesToDestination(c CopySelectFilesToDestinationStruct) error
func CreateTasksJson ¶ added in v6.0.1
func DecreaseChannelBatchFn ¶
func DownloadFile ¶
func ExtractArchive
deprecated
func ExtractArchiveWithOptions ¶ added in v6.0.6
func ExtractArchiveWithOptions(options ExtractArchiveOptions) string
func ExtractBranchNames ¶
func FilterArray ¶
func FilterFilesByExtension ¶
func FilterJSONByPredicate ¶
func FindExecutable ¶
func FindRelativeToTarget ¶
func FolderExists ¶
func GetCurrentBranch ¶
func GetCurrentPath ¶
func GetCurrentPath() string
func GetDownloadURLForCurrentOS ¶
func GetDownloadURLForCurrentOS(release *GitHubRelease) (string, error)
func GetFilePathFromPackage ¶
func GetInputFromStdin ¶
func GetInputFromStdin(obj GetInputFromStdinStruct) string
func GetItemsInFolder ¶
func GetParamValue ¶
func GetParamValue(parameterName string, parameterValue interface{}) interface{}
func GetSourceFilePath ¶
func GetType ¶
func GetType(value interface{}) string
getType returns the type of a given value as a string
func GitSparseClone ¶
func HasPrefixInArray ¶
func HasSuffixInArray ¶
func IsFileOrFolder ¶
func IsRunningInDocker ¶
func IsRunningInDocker() bool
func KillPorts ¶
func KillPorts(options KillPortsOptions)
func LogErrorWithTraceBack ¶
func MatchAnyGlob ¶
MatchAnyGlob checks if a path matches any of the provided glob patterns.
func MergeDirectories ¶
func OverwriteFile ¶
func OverwriteMap ¶
func ParseJSONFromString ¶
func ReadFileFromPackage ¶
func RemoveContentFromFile ¶
func RemoveDrivePath ¶
func RemoveDuplicates ¶
func RemoveDuplicates[T constraints.Ordered](items []T) []T
func RemoveElementsNotInSource ¶
func RemoveElementsNotInSource[T comparable](source, toRemove []T) []T
func RemovePathPrefix ¶
func ReplaceAllSubstrings ¶
func RunCommand ¶
func RunCommandAndGetOutput
deprecated
func RunCommandInSpecifcDirectoryAndGetOutput
deprecated
func RunCommandInSpecificDirectory
deprecated
func RunCommandWithOptions ¶
func RunCommandWithOptions(options CommandOptions) (string, error)
func RunElevatedCommand
deprecated
func SetGlobalVars ¶
func SetGlobalVars(options SetGlobalVarsOptions)
func ShowMenu ¶
func ShowMenu(cliInfo ShowMenuModel, enableOtherOption interface{}) string
func ShowMenuMultipleOptions ¶
func ShowMenuMultipleOptions(cliInfo ShowMenuMultipleModel, enableOtherOption interface{}) []string
func TraverseDirectory ¶
func TraverseDirectory(config TraverseDirectoryParams) error
func TruncateStringByRegex ¶
func TruncateStringByRegex(options TruncateStringByRegexOptions) string
func UnicodeUnquote ¶
func WatchDirectory ¶
func WatchDirectory(options WatchDirectoryParams)
func WriteFormattoJSONFile ¶
func WriteFormattoJSONFile(data interface{}, filename string)
Types ¶
type AngularDeployToFirebaseStruct ¶
type AngularDeployToFirebaseStruct struct { Environments []string `json:"environments,omitempty"` RunLint bool `json:"runLint,omitempty"` RunSSGScript bool `json:"runSSGScript,omitempty"` RemoveBuildDirectories bool `json:"removeBuildDirectories,omitempty"` DeployToSentry bool `json:"deployToSentry,omitempty"` SentryOrg string `json:"sentryOrg,omitempty"` SentryProject string `json:"sentryProject,omitempty"` SentryAuthToken string `json:"sentryAuthToken,omitempty"` DeployToFirebase bool `json:"deployToFirebase,omitempty"` FirebaseProjectId string `json:"firebaseProjectId,omitempty"` }
type AngularFrontendStruct ¶
type AngularFrontendStruct struct {
Configurations []string `json:"configurations,omitempty"`
}
type CommandOptions ¶
type CommandOptions struct { CmdObj *exec.Cmd Self *CommandOptions Command string Args []string TargetDir string GetOutput bool PrintOutput bool PrintOutputOnly bool PanicOnError bool NonBlocking bool IsInputFromProgram bool IsElevated bool EnvVars map[string]string ExitRegex string }
func (CommandOptions) EndProcess ¶
func (c CommandOptions) EndProcess() error
type CreateStringObjectType ¶
type CreateStringObjectType struct { Orig string Prefix func() string CamelCase func(stripSuffix bool, suffix string) string Classify func(stripSuffix bool, suffix string) string Capitalize func(stripSuffix bool, suffix string) string Dasherize func(stripSuffix bool, suffix string) string Lowercase func(stripSuffix bool, suffix string) string Uppercase func(stripSuffix bool, suffix string) string Snakecase func(stripSuffix bool, suffix string) string KebabCase func(stripSuffix bool, suffix string) string PascalCase func(stripSuffix bool, suffix string) string }
CreateStringObjectType represents the structure of the string object.
func CreateStringObject ¶
func CreateStringObject(myStr string, entitySuffix string) (CreateStringObjectType, error)
type DualWriter ¶
type ExtractArchiveOptions ¶ added in v6.0.6
type FirebaseCloudRunEmulatorsStruct ¶
type FirebaseCloudRunEmulatorsStruct struct { GlobalDomain string `json:"globalDomain,omitempty"` UIDomain0 string `json:"UIDomain0,omitempty"` AuthDomain0 string `json:"AuthDomain0,omitempty"` StorageDomain0 string `json:"StorageDomain0,omitempty"` DatabaseDomain0 string `json:"DatabaseDomain0,omitempty"` HostingDomain0 string `json:"HostingDomain0,omitempty"` FunctionsDomain0 string `json:"FunctionsDomain0,omitempty"` PubSubDomain0 string `json:"PubSubDomain0,omitempty"` FirestoreDomain0 string `json:"FirestoreDomain0,omitempty"` KillPortOutputFile string `json:"killPortOutputFile,omitempty"` KillPortOutputFileAcceptDefault bool `json:"killPortOutputFileAcceptDefault,omitempty"` AdditonalPortsToKill []int `json:"additonalPortsToKill,omitempty"` }
type FlutterMobileBuildStruct ¶
type FlutterMobileBuildStruct struct { ToolArgs []string `json:"toolArgs,omitempty"` Args []string `json:"args,omitempty"` VmAdditionalArgs []string `json:"vmAdditionalArgs,omitempty"` PlayStoreServiceAccountKey string `json:"playStoreServiceAccountKey,omitempty"` PackageName string `json:"packageName,omitempty"` PublishTarget string `json:"publishTarget,omitempty"` TrackName string `json:"trackName,omitempty"` }
type GetInputFromStdinStruct ¶
type GetTestNGArgsStruct ¶
type GetTestNGArgsStruct struct { WorkspaceFolder string EnvVarsFile string TestNGFolder string SuiteFile string ParamEnv string }
func GetTestNGArgs ¶
func GetTestNGArgs(c GetTestNGArgsStruct) GetTestNGArgsStruct
type GitCloneSubdirsStruct ¶
type GitHubRelease ¶
type GitHubRelease struct { TagName string `json:"tag_name"` Assets []struct { Name string `json:"name"` BrowserDownloadURL string `json:"browser_download_url"` } `json:"assets"` }
func GetLatestRelease ¶
func GetLatestRelease(repoURL string) (*GitHubRelease, error)
type KillPortsOptions ¶
type KillPortsProcessInfo ¶
type MiscReinitializeProjectStruct ¶
type MiscReinitializeProjectStruct struct { AmountToAppendToPortNumberString int `json:"amountToAppendToPortNumberString,omitempty"` ProjectName string `json:"projectName,omitempty"` OrganizationName string `json:"organizationName,omitempty"` VCSPrivateKey string `json:"vcsPrivateKey,omitempty"` WebSEODescription string `json:"webSEODescription,omitempty"` WebSEOKeywords string `json:"webSEOKeywords,omitempty"` ProxyURLs []string `json:"proxyURLs"` FlutterAndroidGoogleAdsID string `json:"flutterAndroidGoogleAdsID,omitempty"` FlutterAndroidGoogleApplicationID string `json:"flutterAndroidGoogleApplicationID,omitempty"` FlutterIosGoogleAdsID string `json:"flutterIosGoogleAdsID,omitempty"` FlutterIosGoogleApplicationID string `json:"flutterIosGoogleApplicationID,omitempty"` FlutterIosFacebookAppID string `json:"flutterIosFacebookAppID,omitempty"` FlutterIosFacebookClientToken string `json:"flutterIosFacebookClientToken,omitempty"` FlutterIosFacebookCustomURLScheme string `json:"flutterIosFacebookCustomURLScheme,omitempty"` FlutterIosGoogleOAuthURLSchemes []string `json:"flutterIosGoogleOAuthURLSchemes,omitempty"` ChromeDriverPath string `json:"chromeDriverPath,omitempty"` FirefoxDriverPath string `json:"firefoxDriverPath,omitempty"` OperaDriverPath string `json:"operaDriverPath,omitempty"` EdgeDriverPath string `json:"edgeDriverPath,omitempty"` CrossPlatformPackageIdentifier string `json:"crossPlatformPackageIdentifier,omitempty"` AndroidPackageIdentifier string `json:"androidPackageIdentifier,omitempty"` AndroidMainActivityClass string `json:"androidMainActivityClass,omitempty"` IosBundleIdentifier string `json:"iosBundleIdentifier,omitempty"` }
type MiscTranslateJsonStruct ¶ added in v6.0.9
type MiscTranslateJsonStruct struct {
NPMInstallAppDepsStruct
}
type NPMInstallAppDepsStruct ¶ added in v6.0.7
type NPMInstallAppDepsStruct struct {
AppLocations []string `json:"appLocations,omitempty"`
}
type NPMInstallSpecifcPackagesStruct ¶ added in v6.0.7
type NPMInstallSpecifcPackagesStruct struct {
NPMInstallAppDepsStruct
}
type ProcessIfDefaultIsPresentStruct ¶
type ProcessIfDefaultIsPresentStruct struct {
Global bool `json:"global,omitempty"`
}
type PythonInstallAppDepsStruct ¶ added in v6.0.7
type PythonInstallAppDepsStruct struct {
NPMInstallAppDepsStruct
}
type PythonInstallSpecifcPackagesStruct ¶ added in v6.0.7
type PythonInstallSpecifcPackagesStruct struct {
NPMInstallAppDepsStruct
}
type ReactNativeExpoMobileBuildStruct ¶ added in v6.0.10
type SetGlobalVarsOptions ¶
type SetGlobalVarsOptions struct { NonInteractive ProcessIfDefaultIsPresentStruct Infinity int }
var GLOBAL_VARS SetGlobalVarsOptions
type ShellCommandOutput ¶
type ShellCommandOutput struct{}
type ShopifyRunStruct ¶
type ShopifyRunStruct struct {
ProjectName string `json:"projectName,omitempty"`
}
type ShowMenuModel ¶
type ShowMenuModel struct { Default string Other bool OtherString string Prompt string Choices []string // items on the to-do list Selected map[int]string // which to-do items are selected // contains filtered or unexported fields }
func (ShowMenuModel) Init ¶
func (m ShowMenuModel) Init() tea.Cmd
func (ShowMenuModel) View ¶
func (m ShowMenuModel) View() string
type ShowMenuMultipleModel ¶
type ShowMenuMultipleModel struct { Defaults []string // Default selections Prompt string Choices []string // Items on the list Selected map[int]string // Selected items Other bool // Enable 'Other' option OtherString string // String for 'Other' option SelectionLimit int // Maximum number of selections allowed SelectedDelimiter string // Delimiter for selected items in the returned string // contains filtered or unexported fields }
func (ShowMenuMultipleModel) Init ¶
func (m ShowMenuMultipleModel) Init() tea.Cmd
func (ShowMenuMultipleModel) View ¶
func (m ShowMenuMultipleModel) View() string
type TakeVariableArgsResultStruct ¶
func TakeVariableArgs ¶
func TakeVariableArgs(obj TakeVariableArgsStruct) TakeVariableArgsResultStruct
type TakeVariableArgsStruct ¶
type TestNGE2ECreatePageStruct ¶ added in v6.2.0
type TestNGE2ECreatePageStruct struct {
AppLocations []string `json:"appLocations,omitempty"`
}
type TraverseDirectoryParams ¶
type VSCodeSettings ¶
type VSCodeSettings struct {
ExtensionPack WindmillcodeExtensionPack `json:"windmillcode-extension-pack-0,omitempty"`
}
func GetSettingsJSON ¶
func GetSettingsJSON(workSpaceFolder string) (VSCodeSettings, error)
type VSCodeTasksCommandOptions ¶ added in v6.0.1
type VSCodeTasksCommandOptions struct {
Shell VSCodeTasksShellOptions `json:"shell"`
}
type VSCodeTasksDynamicTasksJSON ¶ added in v6.0.1
type VSCodeTasksDynamicTasksJSON struct { Version string `json:"version,omitempty"` Tasks []json.RawMessage `json:"tasks,omitempty"` Inputs []json.RawMessage `json:"inputs,omitempty"` }
type VSCodeTasksInput ¶ added in v6.0.1
type VSCodeTasksInput struct { ID string `json:"id,omitempty"` Description string `json:"description,omitempty"` Default string `json:"default,omitempty"` Type string `json:"type,omitempty"` Metadata VSCodeTasksMetadata `json:"metadata,omitempty"` }
type VSCodeTasksMetadata ¶ added in v6.0.1
type VSCodeTasksMetadata struct {
Name string `json:"name"`
}
type VSCodeTasksRunOptions ¶ added in v6.0.1
type VSCodeTasksShellOptions ¶ added in v6.0.1
type VSCodeTasksTask ¶ added in v6.0.1
type VSCodeTasksTask struct { Label string `json:"label"` Type string `json:"type,omitempty"` Windows struct { Command string `json:"command"` } `json:"windows,omitempty"` Linux struct { Command string `json:"command"` Options VSCodeTasksCommandOptions `json:"options"` } `json:"linux,omitempty"` Osx struct { Command string `json:"command"` Args []string `json:"args"` } `json:"osx,omitempty"` RunOptions VSCodeTasksRunOptions `json:"runOptions,omitempty"` Presentation struct { Panel string `json:"panel,omitempty"` } `json:"presentation,omitempty"` Metadata VSCodeTasksMetadata `json:"metadata,omitempty"` }
type VSCodeTasksTasksJSON ¶ added in v6.0.1
type VSCodeTasksTasksJSON struct { Version string `json:"version,omitempty"` Tasks []VSCodeTasksTask `json:"tasks,omitempty"` Inputs []VSCodeTasksInput `json:"inputs,omitempty"` }
type WMLPorts ¶
type WMLPorts struct { AngularRun0 int `json:"Angular_Run_0,omitempty"` AngularTest0 int `json:"Angular_Test_0,omitempty"` AngularCoverageTest0 int `json:"Angular_Coverage_Test_0,omitempty"` AngularAnalyzer0 int `json:"Angular_Analyzer_0,omitempty"` AngularSSG0 int `json:"Angular_SSG_0,omitempty"` AngularSSG1 int `json:"Angular_SSG_1,omitempty"` AngularSSG2 int `json:"Angular_SSG_2,omitempty"` FlaskRun0 int `json:"Flask_Run_0,omitempty"` FlaskTest0 int `json:"Flask_Test_0,omitempty"` Postgres0 int `json:"Postgres_0,omitempty"` MySQL0 int `json:"My_SQL_0,omitempty"` ReactNativeExpoRun0 int `json:"React_Native_Expo_Run_0,omitempty"` LaravelRun0 int `json:"Laravel_Run_0,omitempty"` FirebaseEmulatorUI0 int `json:"Firebase_Emulator_UI_0,omitempty"` FirebaseEmulatorAuth0 int `json:"Firebase_Emulator_Auth_0,omitempty"` FirebaseEmulatorStorage0 int `json:"Firebase_Emulator_Storage_0,omitempty"` FirebaseEmulatorDatabase0 int `json:"Firebase_Emulator_Database_0,omitempty"` FirebaseEmulatorHosting0 int `json:"Firebase_Emulator_Hosting_0,omitempty"` FirebaseEmulatorFunctions0 int `json:"Firebase_Emulator_Functions_0,omitempty"` FirebaseEmulatorPubSub0 int `json:"Firebase_Emulator_PubSub_0,omitempty"` FirebaseEmulatorFirestore0 int `json:"Firebase_Emulator_Firestore_0,omitempty"` DiodeProxies0 int `json:"Diode_Proxies_0,omitempty"` }
func (*WMLPorts) GetFirebasePorts ¶
type WatchDirectoryParams ¶
type WindmillcodeExtensionPack ¶
type WindmillcodeExtensionPack struct { ReactNativeExpoMobileBuild ReactNativeExpoMobileBuildStruct `json:"reactNativeExpoMobileBuild,omitempty"` MiscTranslateJson MiscTranslateJsonStruct `json:"miscTranslateJson,omitempty"` PythonInstallAppDeps PythonInstallAppDepsStruct `json:"pythonInstallAppDeps,omitempty"` PythonInstallSpecifcPackages PythonInstallSpecifcPackagesStruct `json:"pythonInstallSpecifcPackages,omitempty"` NPMInstallSpecifcPackages NPMInstallSpecifcPackagesStruct `json:"npmInstallSpecifcPackages,omitempty"` NPMInstallAppDeps NPMInstallAppDepsStruct `json:"npmInstallAppDeps,omitempty"` MiscReinitializeProject MiscReinitializeProjectStruct `json:"miscReinitializeProject,omitempty"` TestNGE2ECreatePage TestNGE2ECreatePageStruct `json:"testNGE2ECreatePage,omitempty"` TasksToRunOnFolderOpen []string `json:"tasksToRunOnFolderOpen,omitempty"` FlaskBackendDevHelperScript string `json:"flaskBackendDevHelperScript,omitempty"` FlaskBackendTestHelperScript string `json:"flaskBackendTestHelperScript,omitempty"` ProxyURLs string `json:"proxyURLs,omitempty"` SQLDockerContainerName string `json:"sqlDockerContainerName,omitempty"` DatabaseName string `json:"databaseName,omitempty"` DatabaseOptions []string `json:"databaseOptions,omitempty"` Environments []string `json:"environments,omitempty"` SentryDSN string `json:"sentryDSN,omitempty"` OpenAIAPIKey0 string `json:"openAIAPIKey0,omitempty"` OpenAIAPIBase0 string `json:"openAIAPIBase0,omitempty"` LangCodes0 string `json:"langCodes0,omitempty"` PythonVersion0 string `json:"pythonVersion0,omitempty"` NodeJSVersion0 string `json:"nodeJSVersion0,omitempty"` JavaVersion0 string `json:"javaVersion0,omitempty"` GoVersion0 string `json:"goVersion0,omitempty"` RubyVersion0 string `json:"rubyVersion0,omitempty"` DartVersion0 string `json:"dartVersion0,omitempty"` CSharpVersion0 string `json:"cSharpVersion0,omitempty"` SwiftVersion0 string `json:"swiftVersion0,omitempty"` PHPVersion0 string `json:"phpVersion0,omitempty"` RustVersion0 string `json:"rustVersion0,omitempty"` KotlinVersion0 string `json:"kotlinVersion0,omitempty"` ScalaVersion0 string `json:"scalaVersion0,omitempty"` PerlVersion0 string `json:"perlVersion0,omitempty"` LuaVersion0 string `json:"luaVersion0,omitempty"` HaskellVersion0 string `json:"haskellVersion0,omitempty"` ClojureVersion0 string `json:"clojureVersion0,omitempty"` ErlangVersion0 string `json:"erlangVersion0,omitempty"` JuliaVersion0 string `json:"juliaVersion0,omitempty"` ObjectiveCVersion0 string `json:"objectiveCVersion0,omitempty"` FSharpVersion0 string `json:"fSharpVersion0,omitempty"` VisualBasicVersion0 string `json:"visualBasicVersion0,omitempty"` NodeJSAppLocations []string `json:"nodeJSAppLocations,omitempty"` PythonAppLocations []string `json:"pythonAppLocations,omitempty"` JavaSuiteLocations []string `json:"javaSuiteLocations,omitempty"` Ports WMLPorts `json:"ports,omitempty"` ProcessIfDefaultIsPresent ProcessIfDefaultIsPresentStruct `json:"processIfDefaultIsPresent,omitempty"` FirebaseCloudRunEmulators FirebaseCloudRunEmulatorsStruct `json:"firebaseCloudRunEmulators,omitempty"` FlutterMobileBuild FlutterMobileBuildStruct `json:"flutterMobileBuild,omitempty"` GitCloneSubdirs GitCloneSubdirsStruct `json:"gitCloneSubdirs,omitempty"` GitPushingWorkToGitRemote GitPushingWorkToGitRemoteStruct `json:"gitPushingWorkingToGitRemote,omitempty"` MiscOptimizeImages MiscOptimizeImagesStruct `json:"miscOptimizeImages,omitempty"` AngularFrontend AngularFrontendStruct `json:"angularFrontend,omitempty"` ShopifyRun ShopifyRunStruct `json:"shopifyRun,omitempty"` WxtBuildSafari WxtBuildSafariStruct `json:"wxtBuildSafari,omitempty"` AngularDeployToFirebase AngularDeployToFirebaseStruct `json:"angularDeployToFirebase,omitempty"` }
type WxtBuildSafariStruct ¶
type WxtBuildSafariStruct struct {
BundleIdentifier string `json:"bundleIdentifier,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.