> For the complete documentation index, see [llms.txt](https://docs.specifyapp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.specifyapp.com/guides/specify-cli-usage-101/generate-files.md).

# Generate Files

The Specify CLI can be configured by default with a configuration file named `.specifyrc.json` . You can also override these settings [from command line parameters](/reference/specify-cli.md).

The configuration file lets you describe your transformation pipelines (aka [Parser Rule](/concepts/parsers-engine.md#parser-rules)) following the [Parser Engine API](/concepts/parsers-engine.md) to generate your output. The [configuration file 101](/guides/configuration.md) guide provides full documentation of the configuration file API.&#x20;

{% hint style="info" %}
[Here is the complete list of available flags for the Specify CLI](/reference/specify-cli.md)
{% endhint %}

### Example: Export All Tokens and Assets In JSON

```bash
SPECIFY_PAT=xxxxxxxxxxxxxxxxxx specify pull \
    -C "my-custom-config.json" \
    -r "<@your-organization/your-repository-name>"
```

{% code title="my-custom-config.json" %}

```json
{
  "version": "2",
  "rules": [
    {
      "name": "Export All Tokens and Assets In a JSON File In SDTF",
      "parsers": [
        {
          "name": "to-sdtf",
          "output": {
            "type": "file",
            "filePath": "sdtf.json"
          }
        }
      ]
    }
  ]
}
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.specifyapp.com/guides/specify-cli-usage-101/generate-files.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
