Hypar CLI

What is the Hypar CLI?

The Hypar Command Line Interface (CLI) connects your desktop to the Hypar cloud. It packages utilities for function authoring, code generation, testing, and synchronization with desktop applications. This page describes the commands supported by the Hypar CLI for your reference. This information is also available from within the CLI at any time by running hypar --help in your terminal.


Create a new Hypar function.
Sign in to Hypar.
Sign out of Hypar.
Generate input, output, and function classes from the hypar.json configuration file.
Publish your function to Hypar.
Pull changes made to your function via the Hypar web UI down to your local hypar.json.
Edit your current function's configuration in Hypar's web UI.
Update the current function to the latest version of Hypar, or to a specified version.
Delete a function from Hypar.
Run the hypar function found in the current directory. Defaults to running the function whenever the function's code or its input change, but can also run across a provided list of input values instead.
test generate
Generate a unit test based on an existing workflow.
Rename a function.
Generate code for a ContentCatalog.
Generate user element types from the specified url.
Work with the hypar hub.
version, --version
Display the version of the currently installed Hypar CLI.
converter new
Scaffold a new converter for use with the Hypar Revit Plugin

Typical C# Function Development Flows

notion image
notion image
notion image

Hypar Hub

The Hypar Hub acts as the single point of synchronization between your workflows on Hypar and your local machine. The hub listens for update messages from Hypar, and builds a local cache of data representating the output of the functions in your workflow.
To learn more about the hub, continue below.
Hypar Hub