trash 3.0.0

dotnet tool install --global trash --version 3.0.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 trash --version 3.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=trash&version=3.0.0
                    
nuke :add-package trash --version 3.0.0
                    

Release 3.0.0.

trash

trash is the unified dispatcher for the Trash toolkit — a collection of parse-tree manipulation tools built on ANTLR4.

Install Globally

dotnet tool install -g trash

Uninstall

dotnet tool uninstall -g trash

Install Locally

dotnet new tool-manifest
dotnet tool install trash

Usage

trash <command> [options]

Both the full command name and a short alias (without the tr prefix) are accepted:

dotnet trash gen --help
dotnet trash parse --help

Example pipeline

dotnet trash parse -g antlr4 MyGrammar.g4 | dotnet trash tree

Commands

Full name Alias
tranalyze analyze
trcaret caret
trclonereplace clonereplace
trcombine combine
trconvert convert
trcover cover
trdot dot
trextract extract
trff ff
trfoldlit foldlit
trgen gen
trgenvsc genvsc
trglob glob
triconv iconv
trinterp interp
tritext itext
trjson json
trnullable nullable
trparse parse
trperf perf
trquery query
trrename rename
trsort sort
trsplit split
trsponge sponge
trtext text
trtokens tokens
trtree tree
trunfold unfold
trunfoldlit unfoldlit
trwdog wdog
trxpath xpath
trxml xml
trxml2 xml2
trxquery xquery

Run trash --help to list all commands. Run trash <command> --help for per-command help.

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
3.0.0 55 8/28/2026
2.7.0 183 8/23/2026
2.6.0 162 8/22/2026
2.5.0 202 8/19/2026
2.4.0 146 8/18/2026
2.3.0 385 8/16/2026
2.2.0 171 8/16/2026
2.1.0 1,921 8/13/2026
2.0.1 209 8/12/2026
2.0.0 176 8/11/2026
1.1.1 4,382 7/2/2026
1.1.0 162 6/29/2026
1.0.0 4,125 5/29/2026

Release 3.0.0.
# trash
`trash` is the unified dispatcher for the [Trash toolkit](https://github.com/kaby76/Trash) —
a collection of parse-tree manipulation tools built on ANTLR4.
## Install Globally
dotnet tool install -g trash
## Uninstall
dotnet tool uninstall -g trash
## Install Locally
dotnet new tool-manifest
dotnet tool install trash
## Usage
trash <command> [options]
Both the full command name and a short alias (without the `tr` prefix) are accepted:
dotnet trash gen --help
dotnet trash parse --help
## Example pipeline
dotnet trash parse -g antlr4 MyGrammar.g4 | dotnet trash tree
## Commands
| Full name      | Alias       |
|----------------|-------------|
| tranalyze      | analyze     |
| trcaret        | caret       |
| trclonereplace | clonereplace|
| trcombine      | combine     |
| trconvert      | convert     |
| trcover        | cover       |
| trdot          | dot         |
| trextract      | extract     |
| trff           | ff          |
| trfoldlit      | foldlit     |
| trgen          | gen         |
| trgenvsc       | genvsc      |
| trglob         | glob        |
| triconv        | iconv       |
| trinterp       | interp      |
| tritext        | itext       |
| trjson         | json        |
| trnullable     | nullable    |
| trparse        | parse       |
| trperf         | perf        |
| trquery        | query       |
| trrename       | rename      |
| trsort         | sort        |
| trsplit        | split       |
| trsponge       | sponge      |
| trtext         | text        |
| trtokens       | tokens      |
| trtree         | tree        |
| trunfold       | unfold      |
| trunfoldlit    | unfoldlit   |
| trwdog         | wdog        |
| trxpath        | xpath       |
| trxml          | xml         |
| trxml2         | xml2        |
| trxquery       | xquery      |
Run `trash --help` to list all commands. Run `trash <command> --help` for per-command help.