package
0.13.3
Repository: https://github.com/elhub/gh-dxp.git
Documentation: pkg.go.dev

# Functions

AskForMultiline prompts the user for a multiline input and returns the response.
AskForString prompts the user for a string input and returns the response.
AskToConfirm prompts the user with a yes/no question and returns their response.
CheckFilesUpdated checks if any of the specified patterns match the changed files.
ConvertTerminalOutputIntoList converts terminal output on multiple lines to a list of strings.
FileExists returns true if a given file exists, and false if it doesn't.
GetChangedFiles returns a list of changed files in the current repo.
GetGitRootDirectory returns the root directory of the current git repo.
GetTrackedChanges returns a list of file names for changed files in the current repo.
GetUntrackedChanges returns a list of file names for unchanged files in the current repo.
LinuxExecutor returns a new LinuxExecutorImpl.
ListFilesInDirectory returns a list of files in a given directory.
RemoveFinalMsg removes the finalmsg from a spinner.
SetWorkDirToGitHubRoot checks whether the current working directory is in a GitHub repo.
StartSpinner starts a spinner with a message and then replaces it with a done message * when the spinner is stopped.

# Structs

LinuxExecutorImpl is the type of the Executor interface for Linux systems.
NotAGitHubRepoError signifies that the current working directory is not a GitHub repo.

# Interfaces

Executor is an interface for running commands.