Skip to main content

Overview

The tuist dump command reads a Tuist manifest file and outputs its parsed contents as JSON. This is useful for inspecting manifest structure, debugging, or integrating Tuist with other tools.

Usage

Arguments

string
default:"project"
The manifest type to dump. Available options:
  • project - Project.swift manifest
  • workspace - Workspace.swift manifest
  • config - Tuist.swift configuration
  • template - Template.swift manifest
  • plugin - Plugin.swift manifest
  • package - Package.swift settings

Options

string
default:"."
The path to the folder where the manifest is located.
string
Short form of --path.

Examples

Dump project manifest

Outputs the Project.swift manifest as JSON to stdout.

Dump workspace manifest

Outputs the Workspace.swift manifest as JSON.

Dump configuration

Outputs the Tuist.swift configuration file as JSON.

Dump with custom path

Dumps the project manifest from a specific directory.

Dump template

Outputs a template manifest as JSON.

Dump plugin manifest

Outputs a plugin manifest as JSON.

Dump package settings

Outputs Package.swift dependency configuration as JSON.

Output format

The command outputs well-formatted JSON to stdout. The structure matches the internal representation of the manifest after parsing, including:
  • Target configurations
  • Dependencies
  • Build settings
  • Schemes
  • File references
  • And all other manifest properties

Use cases

Debugging manifests

Inspect how Tuist interprets your manifest files:

Integration with tools

Parse manifest data in scripts or external tools:

Validating configuration

Verify that your manifest is parsed correctly:

Extracting specific data

Use with jq or other JSON tools to extract specific information:
The dump command loads and evaluates the manifest, so it will fail if the manifest contains errors or invalid configuration.