cmd

package
v0.17.6 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package cmd contains the Cobra CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute executes the root command.

func NewRootCmd

func NewRootCmd(
	dfgWriter io.Writer, inputFS afero.Fs, dotCmd string,
) *cobra.Command

NewRootCmd creates a new root command.

Types

type VersionInfo added in v0.8.1

type VersionInfo struct {
	GitVersion string
	GitCommit  string
	BuildDate  string
}

VersionInfo holds the version information for a build of dockerfilegraph.

Jump to

Keyboard shortcuts

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