cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package cli implements the commands for main entrypoint.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string) error

Run executes the CLI.

Types

type LintCommand

type LintCommand struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

LintCommand lints terraform configurations.

func (*LintCommand) Desc

func (c *LintCommand) Desc() string

func (*LintCommand) Flags

func (c *LintCommand) Flags() *cli.FlagSet

func (*LintCommand) Help

func (c *LintCommand) Help() string

func (*LintCommand) PredictArgs

func (c *LintCommand) PredictArgs() complete.Predictor

func (*LintCommand) Run

func (c *LintCommand) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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