Repository navigation
Developing wip
Use the pinned SDK and build instructions in Building from Source.
| Project | Responsibility |
|---|---|
src/Wip.Cli |
Parses arguments with System.CommandLine. Program.cs defines the command tree and maps errors to exit codes. CliContext coordinates command execution. |
src/Wip.Core |
Loads and validates configuration, normalizes Compose files, stages build contexts, constructs backend arguments, runs processes, and handles platform integration and diagnostics. |
The CLI references Core. The solution also includes tests/Wip.Tests, which exercises both projects.
See wip.slnx.
Build the solution first, then run the test project from the repository root:
dotnet test tests/Wip.Tests/Wip.Tests.csproj --configuration Release --no-buildThe tests run without WSLC. They include parity tests that replay the recorded configuration,
command-building, and utility fixtures in tests/golden. The fixtures came from v1. The C# tests
read the checked-in JSON and need no Ruby runtime. For a deliberate behavior change, update the
expectation in the same commit and explain why.
Golden fixture guide.
These exercise the published CLI against real containers. Use Windows with WSL2, WSLC and
PowerShell 7. Publish to artifacts/win-x64 as shown in Building from Source,
then run the lifecycle test from the repository root:
pwsh tests/e2e/run-e2e.ps1 -Wip artifacts/win-x64/wip.exeThe Windows E2E workflow runs separately from the unit and golden suite. End-to-end test guide.
The solution build enforces code-style diagnostics and treats warnings as errors. The shared settings live in Directory.Build.props. CI also publishes the Windows Native AOT executable to catch trimming and reflection problems.
Introduction
Modes
Configuration
- Configuration Reference
- Config File Discovery
- Dependencies
- Networking
- Interactions
- Sandboxes
- Restart Policies
- Healthchecks
- Env Files
- Secret Masking
- Dockerignore
- Build Context Caching
- Source Sync
- Sync Modes
compose.yml support
- Compose File Support
- Compose Build
- Compose Depends On
- Compose Profiles
- Compose Variable Interpolation
Commands
- CLI Command Reference
- wip init
- wip version
- wip doctor
- wip help
- wip manual
- wip config
- wip build
- wip up
- wip ps
- wip stop
- wip restart
- wip down
- wip exec
- wip run
- wip shell
- wip logs
- wip sync
- wip dispatch
- wip sandbox
- wip volume
- wip security scan
- Global Options
- Debug Output
- TTY Allocation
Guides
- Guides
- AI-Assisted Initialization
- Migrating from dip
- Reusing an Existing compose.yml
- Fixing a Slow Boot
- Continuous Sync
- Multi Arch Images
- Using wip in CI
- Updating wip
Troubleshooting
- Troubleshooting
- FAQ
- Configuration Errors
- WSLC Not Found
- Registry Authentication
- Architecture Mismatch
- Volume Limit Reached
- rsync Not Found
- Reporting Issues
Comparison
Current development
Ruby Implementation (legacy)