Skip to main content

Semantic projects via CLI

⌨️ Semantic projects via CLI

Pull your semantic spec out of Hex and into your repo, for local development and source control. This makes it easier to audit context or track what's changed.

Read and export semantic projects from the command line with the 'hex context semantic-project' command group

  • 'list' — see all semantic projects in the workspace
  • 'get' — get a project, with '--include-fields' for dimensions, measures, and joins
  • 'model get' and 'view get' — pull a single model or view
  • 'pull' — write the source files of a project's latest version to a local directory

To bring semantic projects into your development workflow, start by installing the Hex CLI.