> For the complete documentation index, see [llms.txt](https://cloakedkeys.gitbook.io/ofsc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cloakedkeys.gitbook.io/ofsc/command-reference/shared-options/common-option-groups/global-args.md).

# Program Options

These options allow you to configure various aspects of the program's behavior

## General Options

### -v, --version

* **Displays:** The program's version number and then exits.
* **Example output:** `2.4.5+main.8f998cd` (This might vary depending on the actual version).

### -cg, --config \[argument]

* **Controls:** The location of the configuration folder or file.
* **Default behavior:** The program uses the default configuration location
* **Example:** With `-cg /custom/config/path`, the program will look for configuration files in the `/custom/config/path` directory

[Advanced Args](/ofsc/using-the-scraper/batch-scraping-and-bot-actions/advanced-args.md)

### -r, --profile \[argument] (optional)

* **Specifies:** The name of the profile directory, which stores authentication information

This is store in the config location

* **Default behavior:** The program uses the default profile 'main'
* **Example:** With `-r test`, the program will use a profile named test

### --site \[onlyfans|fansly]

* **Specifies:** The site to use for this run.
* **Default behavior:** If not set, the profile's `site.json` decides, and OnlyFans is the default.
* **Example:** With `--site fansly`, the program uses Fansly for this run.

### --env-files \[path]

* **Specifies:** The path to an external environment file (`.env`, `.yaml`/`.yml` or `.json`) from which to load environment variables. Can be given more than once.
* **Effect:** Variables defined in the file are loaded into the program's environment. Values from this file will **override** system environment variables that might be set. If several files are given, later files override earlier ones. These values are then utilized by various configuration settings that are designed to read from environment variables.
* **Default behavior:** If this option is not provided, the `env_files` setting in `config.json` is used instead (not in addition).
* **Example:** With `--env-files /home/user/my_app/prod.env`, the program will load environment variables from the specified `prod.env` file.

[Advanced Customization](/ofsc/getting-started/advanced-customization.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cloakedkeys.gitbook.io/ofsc/command-reference/shared-options/common-option-groups/global-args.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
