Back to godoc.org
go.aporeto.io/regolithe

package regolithe

v1.50.0
Latest Go to latest
Published: Oct 7, 2019 | License: Apache-2.0 | Module: go.aporeto.io/regolithe

Overview

Package regolithe contains a base cobra.Command you can use to write generator tools.

Index

func NewCommand

func NewCommand(
	name string,
	description string,
	version string,
	nameConvertFunc spec.AttributeNameConverterFunc,
	typeConvertFunc spec.AttributeTypeConverterFunc,
	typeMappingName string,
	generatorFunc func([]spec.SpecificationSet, string) error,
) *cobra.Command

NewCommand generates a new CLI for regolith

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier