---
title: "tables"
---
## cloudquery tables

Generate documentation for all supported tables of source plugins specified in the spec(s)

### Synopsis

Generate documentation for all supported tables of source plugins specified in the spec(s)

```
cloudquery tables [files or directories] [flags]
```

### Examples

```
# Generate documentation for all supported tables of source plugins specified in the spec(s) 
cloudquery tables ./directory
# The default format is JSON, you can override it with --format
cloudquery tables ./directory --format markdown
# You can also specify an output directory. The default is ./cq-docs
cloudquery tables ./directory --output-dir ./docs
# You can also filter which tables are included in the output. The default is all, use --filter=spec to include only tables referenced in the spec
cloudquery tables ./directory --filter spec

```

### Options

```
      --filter string       Filter tables. One of: all, spec (default "all")
      --format string       Output format. One of: json, markdown (default "json")
  -h, --help                help for tables
      --output-dir string   Base output directory for generated files (default "cq-docs")
```

### Options inherited from parent commands

```
      --cq-dir string            directory to store cloudquery files, such as downloaded plugins (default ".cq")
      --invocation-id uuid       useful for when using Open Telemetry integration for tracing and logging to be able to correlate logs and traces through many services (default <NEW-RANDOM-UUID>)
      --log-console              enable console logging
      --log-file-name string     Log filename (default "cloudquery.log")
      --log-file-overwrite       Overwrite log file on each run instead of appending. Use this if your filesystem does not support append mode (e.g. FUSE-mounted cloud storage).
      --log-format string        Logging format (json, text) (default "text")
      --log-level string         Logging level (trace, debug, info, warn, error) (default "info")
      --no-log-file              Disable logging to file
      --telemetry-level string   Telemetry level (none, errors, stats, all) (default "all")
```

### SEE ALSO

* [cloudquery](/cli/cli-reference/cloudquery)	 - CloudQuery CLI


## See Also

- [Source Integrations](/cli/integrations/sources) - Configure which tables to sync
- [Integration Concepts](/cli/core-concepts/integrations) - How source integrations define tables
