-
Notifications
You must be signed in to change notification settings - Fork 7
Commands
Learn about the various CLI commands available in Azul.
- "
<>" indicates required arguments.- "
[]" indicates optional arguments.
The main command for interacting with Azul. Running azul without any arguments will simply start the Daemon.
azul [command] [options]
Options:
| Option | Short | Description |
|---|---|---|
--help |
-h |
Show help information for the azul command. |
--version |
Displays your Azul version. | |
--sync-dir=<path> |
Specify the directory to sync files to. | |
--port=<number> |
Specify the port number for the Daemon to listen on. | |
--debug |
Enable debug mode for more verbose output. | |
--no-warn |
Disable warning prompts for dangerous operations (like running in /sync or using build). |
You can combine any of these options with other azul subcommands and options. (Except for --help and --version.)
Builds the Azul project in the current directory.
azul build [options]
Options:
| Option | Short | Description |
|---|---|---|
--from-sourcemap |
Use the sourcemap to determine instance types and properties. | |
--rojo |
Use the Rojo project compatibility mode. | |
--rojo-project=FILE |
Override the Rojo project file (default is default.project.json). |
Pushes files from a source folder to a destination in the Azul sync directory.
azul push [options]
Options:
| Option | Short | Description |
|---|---|---|
--source |
-s |
Specify the source folder to push files from. |
--destination |
-d |
Specify the destination path in the Azul sync directory. Use dot or slash notation. |
--from-sourcemap |
Use the sourcemap to determine instance types and properties. | |
--destructive |
Wipe destination children before pushing new files. | |
--no-place-config |
Do not read push mappings from the place ModuleScript. | |
--rojo |
Use the Rojo project compatibility mode. | |
--rojo-project=FILE |
Override the Rojo project file (default is default.project.json). |
Tip
You can set up push mappings in the per-place daemon configuration to avoid specifying source/destination each time. See Per-place Daemon Configuration for more details.
Serialize Studio instance properties into sourcemap.json for hermetic builds.
azul pack [options]
Options:
| Option | Short | Description |
|---|---|---|
--output |
-o |
Sourcemap path to write (default: sourcemapPath set in config) |
--scripts-only |
Serialize only scripts and their descendants |
Warning
Not all property types can be properly serialized by Azul due to certain Roblox API limitations.
These include: Terrain, Unions (CSG Parts), MeshPart.MeshId.
It is heavily recommended to keep a .rbxl backup of your project alongside the sourcemap when using Azul's build system, especially if your project relies on any of the above features.
Opens the Azul config file in your default editor.
azul config [options]
Options:
| Option | Short | Description |
|---|---|---|
--path |
Displays the location of the config file. |