# Command Reference

Use `privado --help` for a list of available commands

| Command   | Description                                                                              | Usage                                  | Supported flags                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| --------- | ---------------------------------------------------------------------------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `scan`    | Scan a codebase or repository to identify privacy issues and generate compliance reports | `privado scan <repository> [flags]`    | <p><code>-c</code>, <code>--config</code> string: Specifies the config (with rules) directory to be passed to privado-core for scanning. These external rules and configurations are merged with the default set that Privado defines<br><br><code>--disable-deduplication</code> When specified, the engine does not remove duplicate and subset dataflows. This option is useful if you wish to review all flows (including duplicates) manually<br><br><code>-h</code>, <code>--help</code>: help for scan<br><br><code>-i</code>, <code>--ignore-default-rules</code>: If specified, the default rules are ignored and only the specified rules (-r) are considered<br><br><code>--overwrite</code>: If specified, the warning prompt for existing scan results is disabled and any existing results are overwritten<br><br><code>--skip-dependency-download</code>: When specified, the engine skips downloading all locally unavailable dependencies. Skipping dependency download can yield incomplete results<br><br><code>--upload</code> :<br>If specified, will automatically attempt to upload the scan result to Privado Dashboard<br><br><code>--skip-upload</code> :<br>If specified, the result artifacts will not be uploaded to Privado Dashboard<br><br><code>--debug</code>:<br>To enable process debug output for debugging purposes</p> |
| `config`  | List, enable, or disable telemetry for Privado CLI                                       | `privado config <List/enable/disable>` | `-h`, `--help`: Help for config                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `help`    | Help provides help for any command in the application.                                   | `privado help [command]`               | `-h`, `--help`: Help for help                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `update`  | Check for latest release and update to the latest version Privado CLI                    | `privado update [flags]`               | `-h`, `--help`: Help for update                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `version` | Print the current version of Privado CLI                                                 | `privado version [flags]`              | `-h, --help`: Help for version                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `upload`  | Sync the results of scan with Privado Dashboard                                          | `privado upload <repository> [flags]`  | `-h, --help`: Help for version                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |


---

# Agent Instructions: 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.privado.ai/getting-started-with-privado/command-reference.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.
