initcmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Claude       bool   `help:"Set up Claude Code hooks."`
	Codex        bool   `help:"Set up Codex hooks."`
	All          bool   `help:"Set up all supported agents, even if not detected."`
	Scope        string `help:"Configuration scope: project or user." default:"project" enum:"project,user"`
	BakeLog      bool   `help:"Bake --log into generated command strings." name:"bake-log"`
	BakeLogLevel string `` /* 199-byte string literal not displayed */
	DryRun       bool   `help:"Print the planned config output without writing files." name:"dry-run"`
	Verbose      bool   `help:"With --dry-run, print the full rendered config for each selected agent."`
}

Cmd is the Kong command for "scut init".

func (*Cmd) Run

func (c *Cmd) Run(stdout io.Writer, fs afero.Fs, logger *slog.Logger) error

Run installs scut's default hook configuration for selected agents.

Jump to

Keyboard shortcuts

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