arconia template
The arconia template command manages and publishes project templates. Templates are Java projects published as OCI artifacts that can be used with arconia create.
Commands
init
Initialize a project.yml configuration file in a project directory to prepare it for publishing as a template via arconia template push.
arconia template init \
--name server-http \
--description "A Spring Boot HTTP server template"
arconia template init \
--name server-http \
--description "A Spring Boot HTTP server template" \
--type service \
--license Apache-2.0 \
--package-name io.arconia.demo \
--label spring-boot --label http
Options
| Option | Default | Description |
|---|---|---|
|
The template name. |
|
|
The template description. |
|
|
|
The template type (e.g. |
|
|
The SPDX license identifier. |
|
|
The default Java package name. |
|
Labels for the template (e.g. |
|
|
(current directory) |
The directory to create |
|
|
Overwrite an existing |
|
|
Include verbose output. |
|
Display help information for the command. |
list
List available project templates from all registered catalogs.
arconia template list
arconia template list --name arconia-project-templates
Options
| Option | Default | Description |
|---|---|---|
|
The name of a specific registered catalog to list templates from. If omitted, lists templates from all registered catalogs. |
|
|
|
Call the OCI registry over HTTP instead of HTTPS. |
|
|
Allow TLS connections without validating certificates. |
|
|
Include verbose output. |
|
Display help information for the command. |
push
Publish a project template as an OCI artifact. Exactly one of --ref or --base-ref must be specified.
arconia template push --ref ghcr.io/arconia-io/arconia-templates/server-http
arconia template push --ref ghcr.io/arconia-io/arconia-templates/server-http --tag 1.0.0
arconia template push --base-ref ghcr.io/arconia-io/arconia-templates --output-report
Options
| Option | Default | Description |
|---|---|---|
|
The full OCI artifact reference for a single project template (e.g. |
|
|
The base OCI reference for all discovered project templates (e.g. |
|
|
(current directory) |
Path to the template directory, or with |
|
|
The version tag (e.g. |
|
Additional annotations in key=value format (e.g. |
|
|
|
Write a publish report file. Defaults to |
|
|
Call the OCI registry over HTTP instead of HTTPS. |
|
|
Allow TLS connections without validating certificates. |
|
|
Include verbose output. |
|
Display help information for the command. |