exec

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package exec detects project task runners and enumerates their scripts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	Name      string   // e.g. "just", "pnpm"
	ScriptCmd []string // prefix before script name, e.g. ["pnpm", "run"]
	Scripts   []string // enumerated script names (sorted)
}

func Resolve

func Resolve(dir, override string) (Runner, error)

Jump to

Keyboard shortcuts

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