-
Notifications
You must be signed in to change notification settings - Fork 6
Tools
There are already some tools included for various tasks. They are part of the gttools
package. Feel free to create new tools and make a PR to add it to gotaskr!
The tools can either be used from the gttools
package or alternatively, there is an easy wrapper for all tools available in gotaskr.Tools.
. Using the wrapper makes it easier to find supported tools with code completion in your ide.
The tools usually use a settings object and a corresponding method to call the tool. The settings object contains the available parameters used by the tool. All settings objects include the base ToolSettingsBase
object which has some generic properties useful for all tools. Also it provides the possibility to add additional arguments not supported by gttools
already. This makes it possible to use unsupported or new parameters.
Example:
settings := gttools.MvnRunSettings{ ... }
settings.Customize("-Dmaven.test.skip=true")
See the sub-pages to view details about the tools: