flags

package
v0.6.9-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: Apache-2.0 Imports: 1 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChatFlagSet *pflag.FlagSet
View Source
var CreateFlagSet *pflag.FlagSet
View Source
var DatamodelFlagSet *pflag.FlagSet
View Source
var Datamodel__CheckpointFlagSet *pflag.FlagSet
View Source
var Datamodel__LogFlagSet *pflag.FlagSet
View Source
var DefFlagSet *pflag.FlagSet
View Source
var EvalFlagSet *pflag.FlagSet
View Source
var ExportFlagSet *pflag.FlagSet
View Source
var FeedbackFlagSet *pflag.FlagSet
View Source
var FlowFlagSet *pflag.FlagSet
View Source
var FmtFlagSet *pflag.FlagSet
View Source
var GenFlagSet *pflag.FlagSet
View Source
var Gen__InfoFlagSet *pflag.FlagSet
View Source
var Mod__GetFlagSet *pflag.FlagSet
View Source
var RootFlagSet *pflag.FlagSet
View Source
var RunFlagSet *pflag.FlagSet
View Source
var VetFlagSet *pflag.FlagSet

Functions

func SetupChatFlags added in v0.6.9

func SetupChatFlags(fset *pflag.FlagSet, fpole *ChatFlagpole)

func SetupCreateFlags added in v0.6.9

func SetupCreateFlags(fset *pflag.FlagSet, fpole *CreateFlagpole)

func SetupDatamodelPflags added in v0.6.9

func SetupDatamodelPflags(fset *pflag.FlagSet, fpole *DatamodelPflagpole)

func SetupDatamodel__CheckpointFlags added in v0.6.9

func SetupDatamodel__CheckpointFlags(fset *pflag.FlagSet, fpole *Datamodel__CheckpointFlagpole)

func SetupDatamodel__LogFlags added in v0.6.9

func SetupDatamodel__LogFlags(fset *pflag.FlagSet, fpole *Datamodel__LogFlagpole)

func SetupDefFlags added in v0.6.9

func SetupDefFlags(fset *pflag.FlagSet, fpole *DefFlagpole)

func SetupEvalFlags added in v0.6.9

func SetupEvalFlags(fset *pflag.FlagSet, fpole *EvalFlagpole)

func SetupExportFlags added in v0.6.9

func SetupExportFlags(fset *pflag.FlagSet, fpole *ExportFlagpole)

func SetupFeedbackPflags added in v0.6.9

func SetupFeedbackPflags(fset *pflag.FlagSet, fpole *FeedbackPflagpole)

func SetupFlowPflags added in v0.6.9

func SetupFlowPflags(fset *pflag.FlagSet, fpole *FlowPflagpole)

func SetupFmtFlags added in v0.6.9

func SetupFmtFlags(fset *pflag.FlagSet, fpole *FmtFlagpole)

func SetupGenFlags added in v0.6.9

func SetupGenFlags(fset *pflag.FlagSet, fpole *GenFlagpole)

func SetupGen__InfoFlags added in v0.6.9

func SetupGen__InfoFlags(fset *pflag.FlagSet, fpole *Gen__InfoFlagpole)

func SetupMod__GetFlags added in v0.6.9

func SetupMod__GetFlags(fset *pflag.FlagSet, fpole *Mod__GetFlagpole)

func SetupRootPflags added in v0.6.9

func SetupRootPflags(fset *pflag.FlagSet, fpole *RootPflagpole)

func SetupRunFlags added in v0.6.9

func SetupRunFlags(fset *pflag.FlagSet, fpole *RunFlagpole)

func SetupVetFlags added in v0.6.9

func SetupVetFlags(fset *pflag.FlagSet, fpole *VetFlagpole)

Types

type ChatFlagpole added in v0.6.9

type ChatFlagpole struct {
	Model       string
	System      []string
	Messages    []string
	Examples    []string
	Outfile     string
	Choices     int
	MaxTokens   int
	Temperature float64
	TopP        float64
	TopK        int
	Stop        []string
}
var ChatFlags ChatFlagpole

type CreateFlagpole added in v0.6.7

type CreateFlagpole struct {
	Generator []string
	Outdir    string
	Exec      bool
}
var CreateFlags CreateFlagpole

type DatamodelPflagpole added in v0.5.12

type DatamodelPflagpole struct {
	Datamodels []string
	Expression []string
}
var DatamodelPflags DatamodelPflagpole

type Datamodel__CheckpointFlagpole added in v0.6.1

type Datamodel__CheckpointFlagpole struct {
	Message string
}
var Datamodel__CheckpointFlags Datamodel__CheckpointFlagpole

type Datamodel__LogFlagpole added in v0.6.8

type Datamodel__LogFlagpole struct {
	ByValue bool
	Details bool
}
var Datamodel__LogFlags Datamodel__LogFlagpole

type DefFlagpole added in v0.6.9

type DefFlagpole struct {
	Expression    []string
	List          bool
	Simplify      bool
	Out           string
	Outfile       string
	InlineImports bool
	Comments      bool
	Attributes    bool
}
var DefFlags DefFlagpole

type EvalFlagpole added in v0.6.9

type EvalFlagpole struct {
	Expression    []string
	List          bool
	Simplify      bool
	Out           string
	Outfile       string
	InlineImports bool
	Comments      bool
	All           bool
	Concrete      bool
	Escape        bool
	Attributes    bool
	Definitions   bool
	Hidden        bool
	Optional      bool
	Resolve       bool
	Defaults      bool
	Final         bool
	Tui           bool
}
var EvalFlags EvalFlagpole

type ExportFlagpole added in v0.6.9

type ExportFlagpole struct {
	Expression []string
	List       bool
	Simplify   bool
	Out        string
	Outfile    string
	Escape     bool
	Comments   bool
}
var ExportFlags ExportFlagpole

type FeedbackPflagpole added in v0.6.8

type FeedbackPflagpole struct {
	Issue  bool
	Labels string
}
var FeedbackPflags FeedbackPflagpole

type FlowPflagpole added in v0.6.9

type FlowPflagpole struct {
	Flow     []string
	Bulk     string
	Parallel int
	Progress bool
}
var FlowPflags FlowPflagpole

type FmtFlagpole added in v0.6.5

type FmtFlagpole struct {
	Data bool
}
var FmtFlags FmtFlagpole

type GenFlagpole

type GenFlagpole struct {
	Generator   []string
	Template    []string
	Partial     []string
	Diff3       bool
	NoFormat    bool
	KeepDeleted bool
	Exec        bool
	Watch       bool
	WatchFull   []string
	WatchFast   []string
	AsModule    string
	Outdir      string
}
var GenFlags GenFlagpole

type Gen__InfoFlagpole added in v0.6.8

type Gen__InfoFlagpole struct {
	Expression []string
}
var Gen__InfoFlags Gen__InfoFlagpole

type Mod__GetFlagpole added in v0.6.8

type Mod__GetFlagpole struct {
	Prerelease bool
}
var Mod__GetFlags Mod__GetFlagpole

type RootPflagpole added in v0.5.9

type RootPflagpole struct {
	Package      string
	InputData    []string
	StdinEmpty   bool
	Tags         []string
	Path         []string
	Schema       []string
	IncludeData  bool
	WithContext  bool
	InjectEnv    bool
	AllErrors    bool
	IngoreErrors bool
	Stats        bool
	Quiet        bool
	Verbosity    int
}
var RootPflags RootPflagpole

type RunFlagpole added in v0.5.7

type RunFlagpole struct {
	Mode        string
	Workdir     string
	KeepTestdir bool
}
var RunFlags RunFlagpole

type VetFlagpole added in v0.6.9

type VetFlagpole struct {
	Expression  []string
	List        bool
	Simplify    bool
	Out         string
	Outfile     string
	Concrete    bool
	Comments    bool
	Attributes  bool
	Definitions bool
	Hidden      bool
	Optional    bool
}
var VetFlags VetFlagpole

Jump to

Keyboard shortcuts

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