Azion CLI link

The linking process adapts the project being linked to an Azion edge application.

Terminal window
azion link

Confirm the linking of the project to an Azion edge application:

Terminal window
? Do you want to link /cli-examples/effervescent_moon to Azion? (y/N)

Choose a preset and mode:

Terminal window
? Choose a preset and mode: [Use arrows to move, type to filter]
> Html (Deliver)
Javascript (Compute)
Typescript (Compute)
Angular (Deliver)
Astro (Deliver)
Hexo (Deliver)
Next (Compute)

Now, the application will be linked to an edge application. Different processes occur based on the selected template, so you need to answer the interactions that are presented.

Choose if you want to run the application locally or not:

Terminal window
? Do you want to start a local development server? (y/N)
Terminal window
? Do you want to deploy your project? No

The --auto option can be informed, but it isn’t mandatory. If informed, the entire flow of the command runs without interruptions.

The --name option can be specified, but it isn’t mandatory. If it isn’t informed, the name of your project will be autogenerated.

The --mode option can be specified, but it isn’t mandatory. The expected values are deliver and compute.

The --preset option can be specified, but it isn’t mandatory. The expected values are:

  • Html
  • Javascript
  • Typescript
  • Angular
  • Astro
  • Hexo
  • Next
  • React
  • Vue
  • static

The --remote flag, followed by a link to a git repository, specifies the project to be cloned and linked to an edge application during the process.

The --help option displays more information about the link command.


Contributors