package
11.1.0+incompatible
Repository: https://github.com/fastly/cli.git
Documentation: pkg.go.dev

# Functions

Exec constructs the application including all of the subcommands, parses the args, invokes the client factory with the token to create a Fastly API client, and executes the chosen command, using the provided io.Reader and io.Writer for input and output, respectively.
Run kick starts the CLI application.
Usage returns a contextual usage string for the application.
UsageJSON returns a structured representation of the application usage documentation in JSON format.

# Constants

VerboseUsageTemplate is the full-fat usage template, rendered when users type the long-form e.g.

# Variables

CompactUsageTemplate is the default usage template, rendered when users type e.g.
Init constructs all the required objects and data for Exec().
UsageTemplateFuncs is a map of template functions which get passed to the usage template renderer.

# Structs

Example represents a metadata.json command example.