package
1.2.1
Repository: https://github.com/khanhas/spicetify-cli.git
Documentation: pkg.go.dev

# Functions

Blue .
Bold .
CheckExistAndCreate checks folder existence and makes that folder, rescursively, if it does not exist.
CheckExistAndDelete checks folder existence and deletes that folder if it does exist.
Copy .
CopyFile .
CreateJunction creates a junction in Windows or a symlink in Linux/Mac.
Fatal prints fatal message and exits process.
FindAppPath finds Spotify location in various possible places of each platform and returns it.
FindPrefFilePath finds Spotify "prefs" file location in various possible places of each platform and returns it.
FindSymbol uses regexp from one or multiple clues to find variable or function symbol in obfursted code.
GetDebuggerPath fetches opening debugger list from localhost and returns the Spotify one.
GetExecutableDir returns directory of current process.
GetJsHelperDir returns jsHelper directory in executable directory.
GetSpotifyVersion .
Green .
ModifyFile opens file, changes file content by executing `repl` callback function and writes new content.
NewTracker creates new tracker instance.
ParseColor parses a string in both hex or rgb or from XResources or env variable and converts to both rgb and hex value.
ParseConfig read config file content, return default config if file doesn't exist.
PrependTime prepends current time string to text and returns new string.
PrintBold prints a bold message.
PrintError prints an error message.
PrintGreen prints a message in green color.
PrintInfo prints an info message.
PrintRed prints a message in red color.
PrintSuccess prints a success message.
PrintWarning prints a warning message.
Red .
Replace uses Regexp to find any matched from `input` with `regexpTerm` and replaces them with `replaceTerm` then returns new string.
SendReload sends reload command to debugger Websocket server.
Unzip unzips zip.
Watch .
WatchRecursive .
Yellow .

# Variables

BaseColorList is color names list and their default values.
BaseColorOrder is color name list in an order.
INTERVAL .

# Structs

Tracker is used to hold, update and print progress info to console.

# Interfaces

Color stores hex and rgb value of color.
Config .

# Type aliases

TernaryBool is three-way boolean: default, true, false.