# internal/adapters/cli/initcmd

Package initcmd installs the CLI-facing workspace bootstrap assets.

## Message

```go
func Message(result workspace.InitResult, installCI bool) string
```

Message renders the human-facing init summary, naming whether the opt-in CI merge gate was installed so a default (local-only) init advertises the upgrade.

## Run

```go
func Run(ctx context.Context, root string, agentDocs bool, installCI bool) (workspace.InitResult, error)
```

Run initializes a workspace and installs bundled project assets. The CI merge-gate workflow is installed only when installCI is set (scafld init --ci); by default init is local-only and writes no .github/workflows asset.
