plugin

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetURL

func GetURL(name string) string

GetURL returns the project or the download URL of a well-known plugin.

func LookPath

func LookPath(name string) (string, error)

LookPath searches for an executable named step-<name>-plugin in the $(step path)/plugins directory or in the directories named by the PATH environment variable. On Windows, files with the .com, .exe, .bat and .cmd extension will be checked to exist in the $(step path)/plugins directory first, after which the directories in the PATH environment variable will be inspected.

func Run

func Run(ctx *cli.Context, file string) error

Run starts the given command with the arguments in the context and waits for it to complete.

Types

This section is empty.

Jump to

Keyboard shortcuts

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