astro dev init
Initialize an Astro project in an empty local directory. An Astro project contains the set of files necessary to run Airflow, including dedicated folders for your DAG files, plugins, and dependencies. An Astro project can be either run locally with astro dev start
or pushed to Astronomer via astro deploy
.
Usage
astro dev init
Options
Option | Description | Possible Values |
---|---|---|
-v , --runtime-version | Initialize a project with a specific Runtime version | Any supported Runtime version |
-n ,--name | Name of your Astro project | Any string |
--use-astronomer-certified | Only for use on Astronomer Software. Initializes your project with an Astronomer Certified image. | None |
Examples
$ astro dev init
# Initializes default project
$ astro dev init --name=MyProject
# Generates `config.yaml` file with `name=MyProject`
$ astro dev init --runtime-version=4.0.7
## Initializes project with Runtime 4.0.7