> For the complete documentation index, see [llms.txt](https://docs.privado.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.privado.ai/getting-started-with-privado/command-reference.md).

# 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
