onboard

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package onboard materializes live paths into a module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Onboard

type Onboard struct {
	Mise mise.Runner
}

Onboard materializes live paths into a module and applies them.

func (*Onboard) Run

func (o *Onboard) Run(opts Options) error

Run copies the live paths into the module, writes module.toml, and applies.

type Options

type Options struct {
	// Ctx carries cancellation to mise subprocesses; nil means Background.
	Ctx         context.Context
	ProfileRoot string
	Paths       []string
	App         string
	Mode        string
	Packages    []string
	Tools       []string
	Host        bool
	DryRun      bool
	Yes         bool
	Force       bool
	Home        string
	Hostname    string
}

Options configures the onboard operation.

Jump to

Keyboard shortcuts

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