TLio.Commands
0.1.0-preview.19
See the version list below for details.
dotnet add package TLio.Commands --version 0.1.0-preview.19
NuGet\Install-Package TLio.Commands -Version 0.1.0-preview.19
<PackageReference Include="TLio.Commands" Version="0.1.0-preview.19" />
<PackageVersion Include="TLio.Commands" Version="0.1.0-preview.19" />
<PackageReference Include="TLio.Commands" />
paket add TLio.Commands --version 0.1.0-preview.19
#r "nuget: TLio.Commands, 0.1.0-preview.19"
#:package TLio.Commands@0.1.0-preview.19
#addin nuget:?package=TLio.Commands&version=0.1.0-preview.19&prerelease
#tool nuget:?package=TLio.Commands&version=0.1.0-preview.19&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 |
Usage
Commands are registered for you by ParseOptions<TNode>.CreateDefault() in TLio.Client:
var options = ParseOptions<JToken>.CreateDefault();
var engine = new ScriptEngine<JToken>(options.CommandsProvider, options.FunctionsProvider);
[
{ "command": "copy", "from": "$.a", "to": "$.b" },
{ "command": "remove", "path": "$.a" }
]
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 (>= 0.1.0-preview.19)
NuGet packages (2)
Showing the top 2 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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.10.0-preview.1 | 90 | 8/24/2026 |
| 0.9.0 | 152 | 8/23/2026 |
| 0.9.0-preview.14 | 112 | 8/22/2026 |
| 0.9.0-preview.13 | 88 | 8/22/2026 |
| 0.9.0-preview.12 | 91 | 8/22/2026 |
| 0.9.0-preview.11 | 92 | 8/22/2026 |
| 0.9.0-preview.10 | 91 | 8/22/2026 |
| 0.9.0-preview.9 | 84 | 8/21/2026 |
| 0.9.0-preview.8 | 86 | 8/21/2026 |
| 0.9.0-preview.7 | 91 | 8/21/2026 |
| 0.9.0-preview.6 | 65 | 8/21/2026 |
| 0.9.0-preview.5 | 80 | 8/21/2026 |
| 0.9.0-preview.4 | 91 | 8/21/2026 |
| 0.8.0 | 144 | 8/20/2026 |
| 0.1.0-preview.22 | 93 | 8/20/2026 |
| 0.1.0-preview.21 | 75 | 8/20/2026 |
| 0.1.0-preview.19 | 77 | 8/20/2026 |
| 0.1.0-preview.18 | 91 | 8/20/2026 |
| 0.1.0-preview.17 | 90 | 8/20/2026 |
| 0.1.0-preview.16 | 82 | 8/19/2026 |