svm template
Every command also takes the global options (--domain, --json, --config); see the CLI overview.
svm template build
Section titled “svm template build”submit a v2 template definition.
svm template build <definition> [options]| Argument | Kind | Default | Description |
|---|---|---|---|
<definition> |
positional (?) | definition file (default: [template] definition in svm.toml) | |
--wait |
flag |
svm template delete
Section titled “svm template delete”.
svm template delete <template_id>| Argument | Kind | Default | Description |
|---|---|---|---|
<template_id> |
positional |
svm template init
Section titled “svm template init”write a v2 template definition to edit.
svm template init <name> [options]| Argument | Kind | Default | Description |
|---|---|---|---|
<name> |
positional | ||
--output |
value | template.json |
|
--base-image |
value | ||
--force |
flag |
svm template list
Section titled “svm template list”.
svm template list [options]| Argument | Kind | Default | Description |
|---|---|---|---|
--visibility |
value | One of: private, public, all. | |
--page-size |
value | 50 |
|
--page-token |
value |
svm template publish
Section titled “svm template publish”point tags at a build and optionally make the template public.
svm template publish <template_id> [options]| Argument | Kind | Default | Description |
|---|---|---|---|
<template_id> |
positional | ||
--tag |
append | repeatable (default: [template] tags in svm.toml) | |
--build |
value | build to tag (default: the latest ready build) | |
--public |
flag | also make the template visible to every team |
svm template unpublish
Section titled “svm template unpublish”remove tags, or with no –tag make the template private.
svm template unpublish <template_id> [options]| Argument | Kind | Default | Description |
|---|---|---|---|
<template_id> |
positional | ||
--tag |
append |