alis service¶
Manage services: register a new one in a product, run one locally, or preview its frontend.
Synopsis¶
alis service new <package-id> [flags]
alis service preview [<pkg>|<path>] [flags]
alis service run [<pkg>|<path>] [-- <args>...] [flags]
Aliases: service, services.
Subcommands¶
alis service new¶
Register a new service in a product, for example alis service new acme.shop.users.v1. The service is created on the platform, and its local working folders are created in whichever of the product's repos are already cloned: the service folder plus infra/ in the build repo, and the service's proto folder in the define repo. Neither repo is cloned by this command, and no files are generated.
No flags beyond the global flags. The JSON result carries buildFolder and defineFolder; use them for the following commands.
alis service preview¶
Identical to alis preview.
alis service run¶
Identical to alis run.