TLio.Commands 0.9.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package TLio.Commands --version 0.9.0
                    
NuGet\Install-Package TLio.Commands -Version 0.9.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TLio.Commands" Version="0.9.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TLio.Commands" Version="0.9.0" />
                    
Directory.Packages.props
<PackageReference Include="TLio.Commands" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TLio.Commands --version 0.9.0
                    
#r "nuget: TLio.Commands, 0.9.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TLio.Commands@0.9.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TLio.Commands&version=0.9.0
                    
Install as a Cake Addin
#tool nuget:?package=TLio.Commands&version=0.9.0
                    
Install as a Cake Tool

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 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.

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
Loading failed