Yamlet.Cli 0.1.2

dotnet tool install --global Yamlet.Cli --version 0.1.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Yamlet.Cli --version 0.1.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Yamlet.Cli&version=0.1.2
                    
nuke :add-package Yamlet.Cli --version 0.1.2
                    

Yamlet CLI

Run Yamlet API collections headlessly — for example in CI — and fail the build when a request errors or a pm.test assertion fails.

Install

dotnet tool install --global Yamlet.Cli

Usage

yamlet run <workspace> [--env <file>] [--globals <file>] [--bail]

<workspace> is a Yamlet workspace folder (containing collections/ and environments/, or its parent — the same folder you open in the app). Every request in every collection is sent in tree order; pre/request and post/response scripts run, and pm.test assertions are evaluated.

yamlet run ./my-workspace --env environments/dev.yml

--env accepts an environment YAML file path or the name of an environment already in the workspace. --globals overrides the workspace globals. --bail stops at the first failure.

Exit code

0 when every request returned a 2xx/3xx status and every pm.test passed; 1 otherwise — so it gates a CI job directly.

GitHub Actions

- name: Install Yamlet
  run: dotnet tool install --global Yamlet.Cli

- name: Run API tests
  run: yamlet run . --env environments/dev.yml
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.1.2 40 5/30/2026
0.1.1 40 5/30/2026