# Gritql > Documentation for Gritql ## Pages - [Blog](blog.md): July 8, 2024 - [Cli_Quickstart](cli-quickstart.md): The Grit CLI is a command-line interface for Grit. It allows you to apply GritQL patterns and run [custom workflows](... - [Cli_Reference](cli-reference.md): This document contains the help content for the`grit`command-line program. - [Authoring custom patterns](guides-authoring.md): **Source:** - [Continuous Integration](guides-ci.md): **Source:** - [Grit Configuration](guides-config.md): **Source:** - [File Imports](guides-imports.md): **Source:** - [Custom Patterns](guides-patterns.md): **Source:** - [Sharing Patterns](guides-sharing.md): Patterns can be shared with others by publishing them to a Git repository. This allows you to reuse patterns across d... - [Testing GritQL](guides-testing.md): If you are crafting a complex query, we recommend iterating on test cases to ensure that your query behaves as expected. - [Grit - Declarative Code Search and Transformation](index.md): GritQL is a declarative query language for searching and modifying source code. - [Language_Bubble](language-bubble.md): Within a pattern, all metavariables share a common scope. Once a metavariable is bound to a value, it retains this va... - [Language_Conditions](language-conditions.md): `where`clauseThe`where`clause introduces one or more conditions that must be true for the pattern preceding it to ... - [Language_Functions](language-functions.md): While patterns are used to match against AST nodes, functions are used as replacement values. Thus, functions can onl... - [Language_Idioms](language-idioms.md): This page covers some common techniques for writing GritQL patterns. - [Language_Modifiers](language-modifiers.md): Various modifiers can be applied to patterns to transform how they are matched. All pattern modifiers yield a new pat... - [Language_Overview](language-overview.md): - GritQL Documentation- - **Documentation**GitHubDiscordBlogTutorialPlaygroundDocsGetting Started - [Language_Patterns](language-patterns.md): The primary construct in Grit is a pattern, which searches in a codebase for matching clauses and optionally executes... - [Language_Syntax](language-syntax.md): Grit is a query language for searching and modifying codebases. - [Language_Target Languages](language-target-languages.md): The target language is the programming language of the code you want to migrate. Currently, Grit supports the followi... - [Pattern Library](patterns.md): You can find the standard library patterns [on GitHub](http://github.com/getgrit/stdlib). - [Tutorials_Gritql](tutorials-gritql.md): - - **Note**: You do not need to learn GritQL to use Grit. New users should start with one of our many [built-in migr...