command

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, cli Options, configArgs []string, stdout io.Writer) error

Execute runs the selected shared seed mode with backend configuration overrides.

func Run

func Run(args []string, stdout, stderr io.Writer) error

Run parses the shared development seeder flags and dispatches the requested seed action.

Types

type Options

type Options struct {
	Config           string `default:"config.toml" help:"Path to config file."`
	GitOnly          bool   `name:"git-only" help:"Bootstrap only the seeded Git repository fixtures."`
	CoreOnly         bool   `name:"core-only" help:"Seed identities, organizations and projects without connector fixtures."`
	GitFixtureState  string `name:"git-fixture-state" default:"base" enum:"base,deleted,restored" help:"Pipeline lifecycle state for --git-only."`
	ScheduleFireSeed bool   `name:"schedule-fire-seed" help:"Read schedule-fire seed rows from stdin and write them to the configured database."`
}

Jump to

Keyboard shortcuts

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