tool

package
v13.3.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package tool implements running Please's sub-tools (via "plz tool jarcat" etc).

N.B. This is not how they are invoked during the build; that runs them directly.

This is only a convenience thing at the command line.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(config *core.Configuration, tool Tool, args []string)

Run runs one of the sub-tools.

Types

type Tool

type Tool string

A Tool is one of Please's tools; this only exists for facilitating tab-completion for flags.

func (Tool) Complete

func (tool Tool) Complete(match string) []flags.Completion

Complete suggests completions for a partial tool name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL