MCPcopy Create free account

hub / github.com/Sma1lboy/RegTool / functions

Functions132 in github.com/Sma1lboy/RegTool

↓ 9 callersFunctionGetCommand
(name string)
cmd/command.go:33
↓ 9 callersFunctionGetInfoText
GetInfoText returns styled info text
cmd/styles.go:87
↓ 6 callersFunctionRegisterCommand
(name, description string, cmd Command)
cmd/command.go:25
↓ 5 callersFunctionError
(messages ...string)
console/console.go:47
↓ 5 callersFunctionGetErrorText
GetErrorText returns styled error text
cmd/styles.go:77
↓ 5 callersFunctionGetRemoteRegistrySources
GetRemoteRegistrySources fetches the remote sources and returns them
source/source.go:12
↓ 5 callersFunctionGetStyledTitle
GetStyledTitle returns a styled title for a given command
cmd/styles.go:56
↓ 5 callersFunctionGetSuccessText
GetSuccessText returns styled success text
cmd/styles.go:82
↓ 5 callersFunctionPrintln
(color string, messages ...string)
console/console.go:30
↓ 5 callersFunctionRegisterAlias
RegisterAlias registers a primary name with its aliases
common/alias/alias.go:21
↓ 5 callersFunctionRegisterManager
RegisterManager registers a manager for the given names
source/source.go:59
↓ 5 callersMethodUpdate
(tea.Msg)
cmd/command.go:11
↓ 5 callersFunctiontickEvery
()
cmd/list_all_registry.go:206
↓ 4 callersMethodView
()
cmd/command.go:12
↓ 3 callersFunctionGetEnvVarFromFile
GetEnvVarFromFile reads the environment variable from the specified shell configuration file.
shell/utils.go:54
↓ 3 callersFunctionGetStyledQuitText
GetStyledQuitText returns the styled quit instruction
cmd/styles.go:72
↓ 3 callersFunctionReadBackupFile
ReadBackupFile reads the backup file and returns the data
source/localdata/localdata.go:42
↓ 3 callersMethodSetRegistry
SetRegistry sets the registry URL based on the specified region and sources. This method needs to be implemented differently depending on the operatin
source/registry-manager.go:23
↓ 3 callersFunctionStringToRegion
(region string)
source/structs/structs.go:11
↓ 3 callersFunctionrenderIcon
()
tools/gen-proj-banner/src/components/BannerGenerator.tsx:51
↓ 3 callersMethodwrapText
(text string, width int)
cmd/list_all_registry.go:138
↓ 2 callersFunctionGetAllRegisteredApp
Get All Registered
source/source.go:94
↓ 2 callersFunctionRegisterShell
RegisterShell registers a new shell factory.
shell/shell_manager.go:22
↓ 2 callersFunctionSetEnvVarToFile
SetEnvVarToFile writes the environment variable to the specified shell configuration file.
shell/utils.go:12
↓ 2 callersFunctionanimateProgress
animateProgress sends a tick message at a fixed interval
cmd/update.go:147
↓ 2 callersFunctionensureDirectory
EnsureDirectory checks if the directory exists and creates it if it doesn't
source/localdata/localdata.go:27
↓ 2 callersFunctionnewMainMenuModel
()
cmd/run.go:22
↓ 2 callersMethodstartListingRegistries
()
cmd/list_all_registry.go:199
↓ 2 callersFunctionwaitForUpdateMessages
waitForUpdateMessages waits for update messages and sends them as tea messages
cmd/update.go:162
↓ 1 callersFunctionChangeAllRegistry
(region string, updateChan chan string)
source/command.go:25
↓ 1 callersFunctionConvertSources
ConvertSources converts sources to a map of package managers to sources
source/source.go:25
↓ 1 callersFunctionGetAllAliases
GetAllAliases returns all aliases for a given primary name
common/alias/alias.go:38
↓ 1 callersFunctionGetAllPrimary
()
common/alias/alias.go:44
↓ 1 callersMethodGetCurrRegistry
GetCurrRegistry retrieves the current registry URL. Returns: - string: The current registry URL. - error: An error if there is an issue retrieving the
source/registry-manager.go:13
↓ 1 callersFunctionGetPrimary
GetPrimary returns the primary name for a given alias
common/alias/alias.go:30
↓ 1 callersFunctionGetRemoteSourcesMap
()
source/source.go:41
↓ 1 callersFunctionGetStyledOption
GetStyledOption returns a styled option for menus
cmd/styles.go:61
↓ 1 callersFunctionInit
()
env/env.go:15
↓ 1 callersMethodInit
()
cmd/command.go:10
↓ 1 callersMethodIsExists
check is this App exists
source/registry-manager.go:26
↓ 1 callersFunctionListAllRegistry
(ch chan<- string)
source/command.go:53
↓ 1 callersFunctionListCommandDescriptions
()
cmd/command.go:41
↓ 1 callersFunctionListCommandNames
()
cmd/command.go:56
↓ 1 callersFunctionListRegistryByAppName
(appName string, ch chan<- string)
source/command.go:81
↓ 1 callersFunctionNewListAllRegistryModel
()
cmd/list_all_registry.go:212
↓ 1 callersFunctionNewListRegistryModel
()
cmd/list_registry.go:187
↓ 1 callersFunctionRun
()
cmd/run.go:78
↓ 1 callersFunctionSaveToBackup
SaveToBackup saves the provided data to the backup file
source/localdata/localdata.go:69
↓ 1 callersMethodSetEnv
(key, value string)
shell/shell_manager.go:11
↓ 1 callersFunctionUpdate
here is the command implementation of the source Check if there is support registry
source/command.go:13
↓ 1 callersFunctionUpdateRegistry
(region string, app string)
source/source.go:65
↓ 1 callersFunctionapplyOriginalStyle
(original, wrapped string)
cmd/list_all_registry.go:188
↓ 1 callersFunctionapplySingleOriginalStyle
(original, wrapped string)
cmd/list_registry.go:223
↓ 1 callersFunctionconvertLocalSources
Convert map[Name]Source
source/local-source.go:9
↓ 1 callersMethodformatApp
(appLine string, allLines []string)
cmd/list_all_registry.go:110
↓ 1 callersMethodformatApp
(appLine string, allLines []string)
cmd/list_registry.go:129
↓ 1 callersMethodgetCurrentSources
()
source/app/gem/gem.go:78
↓ 1 callersFunctiongetRandomColorWithOpacity
()
tools/gen-proj-banner/src/components/BannerGenerator.tsx:42
↓ 1 callersFunctiongetRandomIcon
()
tools/gen-proj-banner/src/components/BannerGenerator.tsx:37
↓ 1 callersFunctionnewAliasManager
newAliasManager creates a new AliasManager
common/alias/alias.go:10
↓ 1 callersFunctionnewChangeNameRegionModel
()
cmd/change_name_region.go:22
↓ 1 callersFunctionremoveColorAttributes
(s string)
cmd/list_all_registry.go:171
↓ 1 callersFunctionremoveSingleColorAttributes
(s string)
cmd/list_registry.go:206
↓ 1 callersMethodstartListingRegistryByAppName
(appName string)
cmd/list_registry.go:180
↓ 1 callersFunctionwaitForUpdate
waitForUpdate waits for the update to complete and sends the result
cmd/update.go:154
FunctionApp
()
tools/gen-proj-banner/src/App.tsx:2
FunctionBannerGenerator
({ rows, cols, textWidth, }: { rows: number; cols: number; textWidth: number; })
tools/gen-proj-banner/src/components/BannerGenerator.tsx:28
FunctionDebug
(messages ...string)
console/console.go:59
FunctionGetBorderedBox
GetBorderedBox returns a bordered box containing the given text
cmd/styles.go:92
MethodGetCurrRegistry
()
source/app/npm/npm.go:15
MethodGetCurrRegistry
()
source/app/yarn/yarn.go:14
MethodGetCurrRegistry
()
source/app/gem/gem.go:14
MethodGetCurrRegistry
()
source/app/pip/pip.go:14
MethodGetCurrRegistry
GetCurrRegistry gets the current Homebrew registry
source/app/homebrew/homebrew.go:17
FunctionGetEnv
GetEnv attempts to get the environment variable from the OS environment first, and if not found, it reads from the specified shell configuration file.
shell/utils.go:88
MethodGetEnv
(key string)
shell/shell_manager.go:12
MethodGetEnv
GetEnv reads the environment variable from the zsh configuration file.
shell/zsh/zsh.go:14
MethodGetEnv
(key string)
shell/bash/bash.go:11
FunctionGetLocalSourcesMap
()
source/local-source.go:34
FunctionInfo
(messages ...string)
console/console.go:55
MethodInit
Init initializes the update model
cmd/update.go:28
MethodInit
()
cmd/change_name_region.go:31
MethodInit
()
cmd/run.go:30
MethodInit
()
cmd/list_all_registry.go:21
MethodInit
()
cmd/change_all.go:18
MethodInit
()
cmd/list_registry.go:24
MethodIsExists
()
source/app/npm/npm.go:49
MethodIsExists
()
source/app/yarn/yarn.go:48
MethodIsExists
()
source/app/gem/gem.go:73
MethodIsExists
()
source/app/pip/pip.go:49
MethodIsExists
()
source/app/homebrew/homebrew.go:74
FunctionNewShellManager
NewShellManager creates a new ShellManager based on the current shell.
shell/shell_manager.go:27
FunctionPrint
(color string, messages ...string)
console/console.go:34
FunctionPrintf
(color string, format string, a ...interface{})
console/console.go:39
MethodSetEnv
(key, value string)
shell/shell.go:4
MethodSetEnv
SetEnv writes the environment variable to the zsh configuration file.
shell/zsh/zsh.go:9
MethodSetEnv
(key, value string)
shell/bash/bash.go:7
MethodSetRegistry
(region structs.Region, sources *structs.RegistrySources)
source/app/npm/npm.go:25
MethodSetRegistry
(region structs.Region, sources *structs.RegistrySources)
source/app/yarn/yarn.go:24
MethodSetRegistry
(region structs.Region, sources *structs.RegistrySources)
source/app/gem/gem.go:32
next →1–100 of 132, ranked by callers