Back to

Package regolithe

Latest Go to latest

The latest major version is .

Published: Jun 25, 2020 | License: Apache-2.0 | Module:


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


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
/ : Search site
f or F : Jump to identifier