astro dev init
info
The behavior and format of this command are the same for both Astro and Software.
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 with 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