cmd

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package cmd implements the command line interface for the terraform-registry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	Run runCmd `cmd:"true" help:"Start the registry." default:"true" hidden:"true"`
	Globals
}

CLI is the Server command.

type Globals

type Globals struct {
	Debug           bool                 `help:"Log debug output."`
	Version         king.VersionFlag     `help:"Show version information"`
	HTTPListen      string               `help:"HTTP Port." default:":8080"`
	Namespace       string               `help:"The namespace portion of the address of the requested provider." required:""`
	ModuleBackend   moduleBackendFlags   `embed:"true" prefix:"module-backend-"`
	ProviderBackend providerBackendFlags `embed:"true" prefix:"provider-backend-"`
	Profiler        profilerFlags        `embed:"true" prefix:"profiler-"`
}

Globals are the global parameters for the terraform-registry.

Jump to

Keyboard shortcuts

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