Initialize an application from a starter template. You can choose a template based on Next, Vue, React, Angular, Astro, and other frameworks.
Usage
azion initOptional flags
name
The --name option can be specified, but it isn’t mandatory. If it isn’t informed, the name of your project will be autogenerated.
package-manager
The --package-manager option allows you to specify the package manager to use. Example: npm, yarn, pnpm. If not informed, the package manager will be set automatically based on package-lock.json or yarn.lock. If none of these files are found, then npm is default.
auto
The --auto option runs the entire flow of the command without interruptions. When provided, the command will execute automatically without prompting for user input.
local
The --local option runs the entire build and deploy process locally. Use this flag when deploying your project from this command.
skip-framework-build
The --skip-framework-build option indicates whether to bypass the framework build phase before executing azion build.
sync
The --sync option synchronizes the local azion.json file with remote resources. Use this flag when deploying your project from this command.
help
The --help option displays more information about the init command.