cmd

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Main will take the workload of executing/starting the cli, when the command is passed to it.

func SetYamllCommands

func SetYamllCommands() *cobra.Command

SetYamllCommands helps in gathering all the subcommands so that it can be used while registering it with main command.

Types

type Config

type Config struct {
	NoValidation bool
	Explode      bool
	NoColor      bool
	ToFile       string
	Files        []string
}

Config holds the information of the cli config.

Jump to

Keyboard shortcuts

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