showError

Show an error and exit the process.

showError(error: number)
Parameters
error (number) code error

gh

Makes a GitHub API request and return the result or exit the process if it fails

gh(args: ...any): string
Parameters
args (...any) arguments for the request
Returns
string: response

copy

Get route file from the specified repo and copy it on destiny local route

copy(repo: string, route: string, dest: string): string
Parameters
repo (string)
route (string)
dest (string)
Returns
string: response