# Output Schemas Reference

You can output the results of `code-analyzer rules` and `code-analyzer run` to a file by specifying the `--output-file` flag.

Here are the schemas of the output for the two commands.

- [Rules Output Schemas](/docs/platform/salesforce-code-analyzer/guide/output-schemas-rules.md)
- [Run Output Schemas](/docs/platform/salesforce-code-analyzer/guide/output-schemas-run.md)
