### Installing tree-sitter-graph CLI Tool Source: https://github.com/tree-sitter/tree-sitter-graph/blob/main/README.md This shell command installs the `tree-sitter-graph` command-line interface (CLI) tool globally using `cargo install`. The `--features cli` flag ensures that the CLI-specific features are compiled and included. The second command, `tree-sitter-graph --help`, demonstrates how to verify the installation and view available CLI options. ```Shell $ cargo install --features cli tree-sitter-graph $ tree-sitter-graph --help ``` -------------------------------- ### Building the tree-sitter-graph Project Source: https://github.com/tree-sitter/tree-sitter-graph/blob/main/README.md This shell command compiles the `tree-sitter-graph` project. It uses `cargo build` to compile the Rust source code into an executable or library. This command is essential for development, allowing developers to create a runnable version of the project from its source files. ```Shell $ cargo build ``` -------------------------------- ### Running Tests for tree-sitter-graph Source: https://github.com/tree-sitter/tree-sitter-graph/blob/main/README.md This shell command executes the test suite for the `tree-sitter-graph` project. `cargo test` runs all defined unit and integration tests, ensuring the correctness and stability of the codebase. It's a crucial step in the development workflow to validate changes. ```Shell $ cargo test ``` -------------------------------- ### Formatting tree-sitter-graph Rust Code Source: https://github.com/tree-sitter/tree-sitter-graph/blob/main/README.md This shell command automatically formats the Rust source code of the `tree-sitter-graph` project according to the standard Rust formatting guidelines. `cargo fmt` helps maintain consistent code style across the project, improving readability and collaboration. It ensures adherence to the project's coding standards. ```Shell $ cargo fmt ``` -------------------------------- ### Adding tree-sitter-graph as a Rust Dependency Source: https://github.com/tree-sitter/tree-sitter-graph/blob/main/README.md This TOML snippet adds `tree-sitter-graph` as a dependency to a Rust project's `Cargo.toml` file. It specifies version `0.12` for the library, allowing the project to use its functionalities. This is a prerequisite for using `tree-sitter-graph` as a library within another Rust application. ```TOML [dependencies] tree-sitter-graph = "0.12" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.