projectinit

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package projectinit creates starter Codog configuration for a workspace.

Index

Constants

View Source
const (
	StatusCreated  = "created"
	StatusDeferred = "deferred"
	StatusUpdated  = "updated"
	StatusSkipped  = "skipped"
	StatusPartial  = "partial"
	NextStep       = "Review and tailor the generated project guidance"
)

Variables

This section is empty.

Functions

func RenderAgents

func RenderAgents(workspace string) string

func RenderClaude

func RenderClaude(workspace string) string

func RenderInstructions

func RenderInstructions(workspace string) string

func RenderText

func RenderText(report Report) string

Types

type Artifact

type Artifact struct {
	Name       string `json:"name"`
	Status     string `json:"status"`
	SkipReason string `json:"skip_reason,omitempty"`
}

type Report

type Report struct {
	Kind               string     `json:"kind"`
	Action             string     `json:"action"`
	Status             string     `json:"status"`
	AlreadyInitialized bool       `json:"already_initialized"`
	ProjectPath        string     `json:"project_path"`
	Created            []string   `json:"created"`
	Updated            []string   `json:"updated"`
	Deferred           []string   `json:"deferred"`
	Skipped            []string   `json:"skipped"`
	Partial            []string   `json:"partial"`
	Artifacts          []Artifact `json:"artifacts"`
	Hint               string     `json:"hint"`
	NextStep           string     `json:"next_step"`
}

func Initialize

func Initialize(workspace string) (Report, error)

Jump to

Keyboard shortcuts

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