cmd

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type TreatmentsV1

type TreatmentsV1 struct {
	Treatments []struct {
		Name        string
		Description string
		FactorIds   []string `yaml:"factorIds"`
	}
	FactorTypes []struct {
		ID          string `yaml:"_id"`
		Name        string
		Description string
		Required    bool
		Type        string
		Min         int
		Max         int
	} `yaml:"factorTypes"`
	Factors []struct {
		ID           string `yaml:"_id"`
		Name         string
		Value        interface{}
		FactorTypeId string `yaml:"factorTypeId"`
	}
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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