Skip to content
Roman edited this page Mar 3, 2023 · 3 revisions

Introduction

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!

Usage

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.

Settings and unsupported Parameters

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")

Tool Details

See the sub-pages to view details about the tools:

Clone this wiki locally