cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize()

func Run

func Run() error

Types

type CommandBuild

type CommandBuild struct {
	// contains filtered or unexported fields
}

func NewCommandBuild

func NewCommandBuild(cfg ConfigCommandBuild) CommandBuild

func (CommandBuild) Log

func (c CommandBuild) Log(msg string)

func (CommandBuild) Run

func (c CommandBuild) Run() (err error)

type ConfigCommandBuild

type ConfigCommandBuild struct {
	Quiet      bool
	SourcePath string `validate:"required,ne="`
	OutputPath string `validate:"required,ne="`
}

Jump to

Keyboard shortcuts

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