General
DirUtils
Directory helper utility functions used by other scripts
removeDir
Deletes the directory and all content in it
Usage:
Options:
Name | Type | Description |
---|---|---|
directory | String | Path to the directory to delete |
CleanDirectory
Deletes all content in the directory but does not delete the directory itself
Usage:
Options:
Name | Type | Description |
---|---|---|
directory | String | Path to the directory to clean |
CreateDirectory
Creates a directory if it does not already exist
Usage:
Options:
Name | Type | Description |
---|---|---|
directory | String | Path to the directory to clean |
ZipDirectory
Creates a Zip archive with the contents of the directory
Usage:
Options:
Name | Type | Description |
---|---|---|
directory | String | Path to the directory to zip |
zipfile | String | Filename of the zip file |
UploadToGitHub
Uploads a file to GitHub
Usage:
Options:
Type | Description |
---|---|
string | Version tag |
string | User or Organization |
string | Repository name |
string | Filename |
Zip
Creates a Zip archive of a directory
Usage:
Options:
Name | Description | Default |
---|---|---|
--folder, -f |
Path to the directory to zip | None |