Services

Services are the main unit of organization in the AssemblyLift framework. Primarily, they serve as a logical grouping of related functions.

Make a New Service

You can create a new service in an existing AssemblyLift application via the make command:

$ asml make service myservice

This will create a directory under services/ named myservice containing a default service.toml manifest.

In order for a service to be recognized by cast, it must be listed in the application manifest assemblylift.toml.

assemblylift.toml
[project]
name = "my-amazing-project"
version = 0.0.0
‚Äč
[services]
default = { name = "myservice" }