type-sitter-cli: Command-line utility to generate source files with type-sitter wrappers

See type-sitter for more information. This is the command-line tool which generates typed-safe wrappers for tree-sitter nodes.

If a project depends on this (and as with type-sitter-proc), it must also depend on type-sitter-lib and tree-sitter.

Usage

```shell

If not already installed

cargo install type-sitter-cli

In your cargo project root directory

type-sitter-cli path/to/node-types.json ```

Advanced usage

```shell

Specify a custom output directory and use tree-sitter-wrapper

type-sitter-cli vendor/tree-sitter-rust/node-types.json -o generated_src --use-wrapper

See help for the CLI program

type-sitter-cli --help ```