# internal/adapters/cli/config

Package config scans project files for CLI-driven config proposals.

## RenderProposal

```go
func RenderProposal(proposal appconfig.Proposal) ([]byte, error)
```

RenderProposal serializes a config proposal for operator review.

## Run

```go
func Run(ctx context.Context, root string) (appconfig.Output, error)
```

Run builds and writes the CLI config proposal.

## Scanner

```go
type Scanner struct {
	Root string
}
```

Scanner inspects a workspace for config-relevant evidence.

- `Root: string`: 

## Scan

```go
func (s Scanner) Scan(ctx context.Context) (appconfig.Snapshot, error)
```

Scan returns repo evidence without mutating the workspace.
