TLio.Commands
1.1.0-preview.5
dotnet add package TLio.Commands --version 1.1.0-preview.5
NuGet\Install-Package TLio.Commands -Version 1.1.0-preview.5
<PackageReference Include="TLio.Commands" Version="1.1.0-preview.5" />
<PackageVersion Include="TLio.Commands" Version="1.1.0-preview.5" />
<PackageReference Include="TLio.Commands" />
paket add TLio.Commands --version 1.1.0-preview.5
#r "nuget: TLio.Commands, 1.1.0-preview.5"
#:package TLio.Commands@1.1.0-preview.5
#addin nuget:?package=TLio.Commands&version=1.1.0-preview.5&prerelease
#tool nuget:?package=TLio.Commands&version=1.1.0-preview.5&prerelease
TLio.Commands
The built-in command set for TLio. Format-agnostic — every
format-specific operation is delegated through IExecutionContext<TNode>, so the same commands run
against JSON, XML, and YAML unchanged.
dotnet add package TLio.Commands
Commands
| Command | Purpose |
|---|---|
add |
Add a value, keeping any existing value |
set |
Set a value on an existing target |
put |
Set a value, creating the target if it is missing |
remove |
Delete the targeted item(s) |
rename |
Rename a property or element in place |
copy |
Copy from one path to another |
move |
Move from one path to another |
compare |
Structural diff between two paths |
merge |
Merge two structures (including key-based array merge) |
ifElse |
Conditional branching inside a script |
decisionTable |
Table-driven branching |
Quick start
Commands are registered for you by ParseOptions<TNode>.CreateDefault() in TLio.Client —
add a format adapter (here, TLio.Json) and you can execute a script:
using Newtonsoft.Json.Linq;
using TLio.Client;
using TLio.Json;
var data = JToken.Parse("""{ "a": "hello" }""");
var script = """
[
{ "command": "copy", "fromPath": "$.a", "toPath": "$.b" },
{ "command": "remove", "path": "$.a" }
]
""";
var options = ParseOptions<JToken>.CreateDefault();
var engine = new ScriptEngine<JToken>(options.CommandsProvider, options.FunctionsProvider);
var result = engine.Execute(script, data, JsonExecutionContext.CreateDefault());
// result.Data → { "b": "hello" }
ETL commands (flatten, restore, resolve, tocsv) live in TLio.Extensions.ETL.
License
MIT — see the repository.
| Product | Versions 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. |
-
net10.0
- TLio.Core (>= 1.1.0-preview.5)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on TLio.Commands:
| Package | Downloads |
|---|---|
|
TLio.Client
TLio Client: the scripting engine that parses and executes TLio scripts. Format-neutral — format support is registered through the provider pattern. |
|
|
TLio.Extensions.ETL
TLio ETL extension commands: Flatten, Restore, Resolve, ToCsv. Format-agnostic via INodeAdapter. |
|
|
TLio.Extensions.Looping
TLio looping extension commands: forEach, while. Format-agnostic via INodeAdapter. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.0-preview.5 | 27 | 9/27/2026 |
| 1.1.0-preview.4 | 28 | 9/27/2026 |
| 1.1.0-preview.3 | 64 | 9/24/2026 |
| 1.1.0-preview.2 | 49 | 9/24/2026 |
| 1.1.0-preview.1 | 56 | 9/24/2026 |
| 1.0.1 | 127 | 9/24/2026 |
| 1.0.0 | 126 | 9/20/2026 |
| 0.10.0-preview.6 | 61 | 9/20/2026 |
| 0.10.0-preview.5 | 68 | 9/20/2026 |
| 0.10.0-preview.4 | 62 | 9/18/2026 |
| 0.10.0-preview.3 | 67 | 9/18/2026 |
| 0.10.0-preview.2 | 71 | 9/13/2026 |
| 0.10.0-preview.1 | 104 | 8/24/2026 |
| 0.9.0 | 166 | 8/23/2026 |
| 0.9.0-preview.14 | 122 | 8/22/2026 |
| 0.9.0-preview.13 | 98 | 8/22/2026 |
| 0.9.0-preview.12 | 100 | 8/22/2026 |
| 0.9.0-preview.11 | 98 | 8/22/2026 |
| 0.9.0-preview.10 | 101 | 8/22/2026 |
| 0.9.0-preview.9 | 92 | 8/21/2026 |