Loading

WF.ADDREPO Extension: io.warp10.script.ext.warpfleet.WarpFleetWarpScriptExtension


stack
Since v2.0.3
Available on all platforms
See also

Configuration parameters


The WF.ADDREPO function allows you to add a repository to the list of repositories taken into account by the WarpFleetâ„¢ macro resolver.

If the URL is valid (syntaxically), then it will be added at the end of the current list of repositories scanned by the resolver. All repository URLs will then be validated by the validator macro defined in the configuration (warpfleet.macros.validator). Those URLs for which the validator macro returned true will be retained.

Note that the repository is only added in the scope of the current stack.

Signature

Examples

'https://warpfleet.senx.io/macros' WF.ADDREPO