cmd

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(out io.Writer, version string) (*cobra.Command, func())

New returns a new instance of cobra.Command for tfvar. Usage:

c, sync := cmd.New(os.Stdout)
if err := c.Execute(); err != nil {
	log.Fatal(err)
}
sync()

Types

This section is empty.

Jump to

Keyboard shortcuts

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