# Packages

No description provided by the author

# Functions

ChangeProductSymlink : move symlink for product to existing binary.
ChangeSymlink : move symlink to existing binary for Terraform Deprecated: This function has been deprecated in favor of ChangeProductSymlink and will be removed in v2.0.0.
CheckDirExist : check if directory exist dir=path to file return bool.
CheckDirHasTGBin : // check binary exist (TODO UNIT TEST).
Check if user has permission to directory : dir=path to file return bool.
CheckFileExist : check if file exist in directory.
CheckSymlink : check file is symlink.
ConvertExecutableExt : convert executable with local OS extension.
CreateSymlink : create symlink or copy file to bin directory if windows.
DownloadFromURL : Downloads the terraform binary and its hash from the source url.
No description provided by the author
FileExistsAndIsNotDir checks if a file exists and is not a directory before we try using it to prevent further errors.
No description provided by the author
GetCurrentDirectory : return the current directory.
GetFileName : remove file ext.
GetHomeDirectory : return the user's home directory.
GetInstallLocation : get location where the terraform binary will be installed, will create the installDir if it does not exist.
No description provided by the author
GetSemver : returns version that will be installed based on server constraint provided.
No description provided by the author
InstallLatestImplicitVersion install latest - argument (version) must be provided Deprecated: This function has been deprecated in favor of InstallLatestProductImplicitVersion and will be removed in v2.0.0.
InstallLatestProductImplicitVersion install latest - argument (version) must be provided.
InstallLatestProductVersion install latest stable tf version.
InstallLatestVersion install latest stable tf version Deprecated: This function has been deprecated in favor of InstallLatestProductVersion and will be removed in v2.0.0.
InstallProductOption displays & installs tf version listAll = true - all versions including beta and rc will be displayed */ listAll = false - only official stable release are displayed */ Deprecated: This function has been deprecated in favor of InstallProductOption and will be removed in v2.0.0.
InstallProductOption displays & installs tf version listAll = true - all versions including beta and rc will be displayed */ listAll = false - only official stable release are displayed */.
InstallProductVersion install with provided version as argument.
InstallVersion install Terraform product Deprecated: This function has been deprecated in favor of InstallProductVersion and will be removed in v2.0.0.
IsDirEmpty : check if directory is empty (TODO UNIT TEST).
NewCommand : get command.
No description provided by the author
No description provided by the author
Path : returns path of directory value=path to file.
PrintInvalidMinorTFVersion Print invalid minor TF version.
PrintInvalidTFVersion Print invalid TF version.
ReadLines : Read a whole file into the memory and store it as array of lines Deprecated: This method has been deprecated and will be removed in v2.0.0.
RemoveFiles : remove file.
RemoveSymlink : remove symlink.
RenameFile : rename file name.
SemVerParser : Goes through the list of versions, returns a valid version for contraint provided.
ShowLatestImplicitVersion show latest - argument (version) must be provided.
ShowLatestVersion show install latest stable tf version.
Unzip will decompress a zip archive, moving all files and folders within the zip file (parameter 1) to an output directory (parameter 2).
No description provided by the author
WriteLines : writes into file Deprecated: This method has been deprecated and will be removed in v2.0.0.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Command : type string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author