overwire init
Scaffolds the .overwire/ config root: settings.yml, variables.yml, secrets.yml, the modes/, mocks/, and payloads/ directories, and a .gitignore that keeps secret values and local run state out of git.
overwire init [options]Options
Section titled “Options”| Option | Description |
|---|---|
--owner <owner> | Organization or user owning this repo. Inferred from the git remote if omitted; falls back to local when no remote owner is available. |
--config-root <dir> | Root for the config tree, relative to cwd (default .overwire). |
--force | Overwrite existing config files. Without it, re-running init is create-only and leaves your edits alone. |
--workspace | Create a workspace-level .overwire/ with auto-discovered child repos. |
Workspace mode
Section titled “Workspace mode”init --workspace writes instances.yml at the workspace config root, listing every child directory that contains a .github/ or .overwire/ tree. Entries store relative paths, so the workspace stays portable across machines.
Examples
Section titled “Examples”# Single repo, owner from git remoteoverwire init
# Explicit owneroverwire init --owner my-org
# Multi-repo workspace at the parent directoryoverwire init --workspaceSee Initialize a project for the walkthrough.
Overwire is not affiliated with, endorsed by, or sponsored by GitHub, Inc., Microsoft Corporation, or Docker, Inc. GitHub and GitHub Actions are trademarks of GitHub, Inc.