Help us shape the future of Go! Take the 2026 Go Developer Survey

initcmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package initcmd implements the "init" CLI command: scaffold the .adh workspace so later commands have somewhere to store arcs, a starter config to tailor, and a context store so the cold critic can be grounded out of the box (SPEC §2.1, §3.1, §19.1). It is idempotent: existing files are left untouched.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*root.Config
	Flags   *ff.FlagSet
	Command *ff.Command
}

Config holds the configuration for the init command.

func New

func New(parent *root.Config) *Config

New creates and registers the init command with the given parent config.

Jump to

Keyboard shortcuts

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