TALXIS.CLI 1.6.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global TALXIS.CLI --version 1.6.0
                    
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 TALXIS.CLI --version 1.6.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=TALXIS.CLI&version=1.6.0
                    
nuke :add-package TALXIS.CLI --version 1.6.0
                    

TALXIS CLI (txc)

This project is currently in a development phase and not ready for production use. While we actively use these tools internally, our aim is to share and collaborate with the broader community to refine and enhance their capabilities. We are in the process of gradually open-sourcing the code, removing internal dependencies to make it universally applicable. At this stage, it serves as a source of inspiration and a basis for collaboration. We welcome feedback, suggestions, and contributions through pull requests.

If you wish to use this project for your team, please contact us at hello@networg.com for a personalized onboarding experience and customization to meet your specific needs.

MCP Server Support:
You can also use this CLI as a Model Context Protocol (MCP) server by installing the related .NET tool txc-mcp.
This enables integration with tools and workflows that support the MCP standard.
For setup and usage instructions, see TALXIS.CLI.MCP.


TALXIS CLI (txc) is a modular, extensible .NET global tool for automating development, data, and solution management tasks - especially for Power Platform and enterprise projects. It helps developers scaffold, transform, and manage code and data in local repositories.


Table of Contents


Installation

Install the CLI as a .NET global tool:

dotnet tool install --global TALXIS.CLI

Update to the latest version:

dotnet tool update --global TALXIS.CLI

dotnet new update

Running dotnet new update ensures that template packages used by the CLI are updated to their latest versions.

After installation, use the CLI via the txc command in any terminal.


Identity, Connections & Profiles

txc decouples who you are (credentials) from where you target (connections) and exposes the combination as a named profile. Every command that touches a live environment takes exactly one context flag — --profile <name>.

Quickstart for most developers:

txc config profile create --url https://contoso.crm4.dynamics.com/

Drop in the Dataverse environment URL, sign in in the browser, and txc creates and selects the profile for you.

For explicit credential / connection / profile steps, repository pinning, or headless / CI setup, see docs/profiles-and-authentication.md.


Example Usage

txc runs both Dataverse Package Deployer and Configuration Migration Tool (CMT) on modern .NET, including macOS and Linux. The goal is a better developer experience: cross-platform automation, simpler happy-path commands, and better visibility into what happened during deploys.

The examples below assume you have an active profile (see above). Pass --profile <name> to any command to override the active profile for a single invocation.

txc organises environment operations into three planes, mirroring how the Power Platform itself separates concerns:

Plane What it covers API surface Commands
Control plane Environment-level governance & feature toggles api.powerplatform.com/environmentmanagement txc env setting …
Application plane Solutions, packages, deployments Dataverse Web API + Package Deployer txc env sln …, txc env pkg …, txc env deploy …
Data plane Records, queries, bulk operations Dataverse Web API (OData / FetchXML / SQL) txc env data …

Control Plane

Manage environment-level settings exposed by the Power Platform admin API — feature toggles, Copilot flags, IP restrictions, and more.

List environment management settings:

txc env setting list --filter powerApps

Enable code-first apps (Power Apps code components):

txc env setting update --name powerApps_AllowCodeApps --value true

Application Plane

Deploy, inspect, and manage solutions and packages in the target environment.

Deploy the latest package from NuGet:

txc env pkg import TALXIS.Controls.FileExplorer.Package

Inspect the latest package deployment with findings:

txc env deploy show --package-name TALXIS.Controls.FileExplorer.Package

Uninstall a package from its source artifact:

txc env pkg uninstall TALXIS.Controls.FileExplorer.Package --yes

Import a solution and follow the async operation when needed:

txc env sln import ./Solutions/MySolution_managed.zip

txc env deploy show --async-operation-id <asyncOperationId>

Target a different environment for a single call without switching profiles:

txc env sln import ./Solutions/MySolution_managed.zip --profile customer-b-prod

Data Plane

Query, create, update, and bulk-operate on Dataverse records. Supports OData, FetchXML, and a T-SQL subset — all through the Dataverse Web API.

Query with OData:

txc env data query odata accounts --select "name,revenue" --filter "revenue gt 1000000" --top 10

Run a FetchXML query:

txc env data query fetchxml '<fetch top="5"><entity name="contact"><attribute name="fullname"/></entity></fetch>'

Run a SQL query:

txc env data query sql "SELECT fullname, emailaddress1 FROM contact WHERE statecode = 0" --top 20

Get a single record by ID:

txc env data record get --entity account 00000000-0000-0000-0000-000000000001 --columns "name,revenue"

Create a record:

txc env data record create --entity account --data '{"name":"Contoso Ltd","revenue":5000000}'

Bulk upsert records from a JSON file:

txc env data bulk upsert --entity contact --file ./contacts.json

Offline / Local Data

CMT data operations that work against local files — no live environment needed.

Import a CMT data folder into Dataverse:

txc data pkg import ./data-package

Convert Excel to CMT XML:

txc data pkg convert --input export.xlsx --output data.xml

Workspace Scaffolding

Scaffold and manage project components from templates.

List available workspace components:

txc workspace component type list

Component scaffolding in this CLI relies on the TALXIS/tools-devkit-templates repository, where all component types, metadata, and definitions are maintained.

Show details about a component:

txc workspace component explain pp-entity

List parameters required for a specific component template:

txc workspace component parameter list pp-entity

Scaffold a Dataverse entity component:

txc workspace component create pp-entity \
  --output ./src/Declarations \
  --param Behavior=New \
  --param PublisherPrefix=tom \
  --param LogicalName=location \
  --param LogicalNamePlural=locations \
  --param DisplayName=Location \
  --param DisplayNamePlural=Locations \
  --param SolutionRootPath=Declarations

Run txc --help or txc <command> --help for the full command reference.


Local Development & Debugging

Clone the repository and restore dependencies:

git clone <repo-url>
cd tools-cli
dotnet restore

Build the solution:

dotnet build

Run the CLI directly:

dotnet run --project src/TALXIS.CLI -- workspace explain

Versioning & Release

  • Versioning is managed in Directory.Build.props (Microsoft-style versioning).
  • Releases are published to NuGet.org via GitHub Actions.

Collaboration

We welcome collaboration! For feedback, suggestions, or contributions, please submit issues or pull requests.

For onboarding or customization, contact us at hello@networg.com.

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
1.21.0 305 8/10/2026
1.20.0 270 6/29/2026
1.19.1 152 6/29/2026
1.19.0 138 6/29/2026
1.18.0 120 6/28/2026
1.17.2 156 6/27/2026
1.17.1 177 6/3/2026
1.17.0 142 5/26/2026
1.16.0 131 5/14/2026
1.15.0 117 5/14/2026
1.14.2 140 5/4/2026
1.14.1 117 5/4/2026
1.13.0 120 5/1/2026
1.12.0 119 4/29/2026
1.11.0 131 4/28/2026
1.10.0 112 4/28/2026
1.9.0 124 4/27/2026
1.8.0 129 4/26/2026
1.7.0 134 4/25/2026
1.6.0 131 4/24/2026
Loading failed