Skip to main content

astro dev parse

info

The behavior and format of this command are the same for both Astro and Software.

Parse the DAGs in a locally hosted Astro project to quickly check them for errors. For more information about testing DAGs locally, read Test your Astro project locally.

Usage

astro dev parse

Options

OptionDescriptionPossible Values
--build-secretsRun docker build --secret to mount a secret value to your Docker image.id=<your-secret-id>, src=<path-to-secret> . See Docker documentation.
-e, --envThe filepath to your environment variables. (The default is .env)Any valid filepath within your Astro project
-i, --image-nameThe name of a pre-built custom Docker image to use with your project. The image must be available from a Docker registry hosted on your local machineA valid name for a pre-built Docker image based on Astro Runtime

Examples

# Parse DAGs
astro dev parse

# Specify alternative environment variables
astro dev parse --env=myAlternativeEnvFile.env

Was this page helpful?

Sign up for Developer Updates

Get a summary of new Astro features once a month.

You can unsubscribe at any time.
By proceeding you agree to our Privacy Policy, our Website Terms and to receive emails from Astronomer.