package
0.0.0-20240927085353-21f925a24b21
Repository: https://github.com/kataras/iris-cli.git
Documentation: pkg.go.dev

# Functions

Command returns the Cmd struct to execute the named program with the given arguments for windows.
CommandWithCancel same as `Command` but returns a canceletion function too.
Dest tries to resolve and returns a destination dir path.
Download returns the body of "url".
DownloadFile returns the contents of a github file inside a repository.
DownloadReader returns a response reader.
Exists tries to report whether the local physical "path" exists.
Export exports "v" to "destFile" system file.
Ext returns the filepath extension of "s".
FindMatches find all matches of a "pattern" reclusively.
No description provided by the author
GetAllFiles returns all files and directories from "rootDir".
GetFilesDiff returns a function which collects new files or directories since `GetFilesDiff` called.
Import decodes a file to "dest".
InitClient initialize the global HTTP client.
IsDir reports whether a "path" is a filesystem directory.
IsInsideDocker reports whether the iris-cli is running through a docker container.
No description provided by the author
ListReleases lists all releases of a github "repo".
No description provided by the author
NoOpReadCloser wraps the "r" and returns a new io.ReadCloser which its `Close` does nothing.
ReadJSON decodes a resource to "ptr".
RegisterOnInterrupt registers a global function to call when CTRL+C/CMD+C pressed or a unix kill command received.
SplitNameVersion accepts a string and returns its name and version.
No description provided by the author

# 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

DefaultClient is the default client all http requests are fired from.
Interrupt watches the os.Signals for interruption signals and fires the callbacks when those happens.

# Structs

No description provided by the author

# Type aliases

DownloadOption is the type of third, variadic input argument of the `Download` package-level function.
No description provided by the author