commandbox.system.endpoints.IEndpoint
Copyright Since 2014 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com I am an endpoint. I can retreive packages for you.
Method Summary | |
---|---|
any
|
getDefaultName(string package)
Determines the name of a package based on its ID if there is no box. |
any
|
getUpdate(string package, string version, [boolean verbose])
Checks to see if there is an update to the package. |
string
|
resolvePackage(string package, [boolean verbose])
Accepts the name of a package, retrieves it, and returns a local folder path where the package is. |
Method Detail |
---|
Determines the name of a package based on its ID if there is no box.json
package
Checks to see if there is an update to the package is outdated as well as the newly available version. The default return struct is this: { isOutdated = false, version = '' }
package
version
verbose
Accepts the name of a package, retrieves it, and returns a local folder path where the package is
package
verbose