Core APIs
Do is the static facade for everything a task does outside of running an external tool: executing processes, reading parameters, resolving paths, and inspecting the workspace and its repository.
await Do.Exec("dotnet --info");
Each family below collects its entry points with their complete generated documentation, followed by the supporting types it uses.
- Execution — run processes and installed tools, capture output, and control logging and failure behavior.
- Parameters and secrets — declare task parameters and secrets, then resolve them from arguments, environment variables, user secrets, and workspace configuration.
- Paths and files — work with normalized paths, files, archives, and temporary directories.
- Workspace and solutions — find the workspace root, inspect the configured solution, and navigate its projects.
- Git repositories — read repository state and verify that operations leave Git-visible content unchanged.
- CI and logging — detect local builds, read CI metadata, emit provider-native messages, and configure logging.
- String and collection utilities — the small extension-method set shared by task scripts and command rendering.