Skip to main content

skaff template

Erase the template cache, then reload

skaff template erase-cache

Erase the template cache, then reload

USAGE
$ skaff template erase-cache [-f json|ndjson|tsv|table] [-h] [--project path]

FLAGS
-f, --format=<option> [default: table] output format
<options: json|ndjson|tsv|table>
-h, --help Show CLI help.
--project=path Path to a project directory to operate on (overrides auto-discovery)

DESCRIPTION
Erase the template cache, then reload

See code: src/commands/template/erase-cache.ts

skaff template list

List loaded root templates or inspect a template repository

USAGE
$ skaff template list [-f json|ndjson|tsv|table] [-h] [--project path] [--repo <value>] [--branch <value>]

FLAGS
-f, --format=<option> [default: table] output format
<options: json|ndjson|tsv|table>
-h, --help Show CLI help.
--branch=<value> Branch to check out when using --repo
--project=path Path to a project directory to operate on (overrides auto-discovery)
--repo=<value> Git repository URL or path to inspect for templates

DESCRIPTION
List loaded root templates or inspect a template repository

See code: src/commands/template/list.ts

skaff template load REPO

Clone a template repository into cache

USAGE
$ skaff template load REPO [-f json|ndjson|tsv|table] [-h] [--project path] [--branch <value>]

ARGUMENTS
REPO Git repository URL or path

FLAGS
-f, --format=<option> [default: table] output format
<options: json|ndjson|tsv|table>
-h, --help Show CLI help.
--branch=<value> [default: main] Branch to checkout
--project=path Path to a project directory to operate on (overrides auto-discovery)

DESCRIPTION
Clone a template repository into cache

See code: src/commands/template/load.ts

skaff template project-revision

Show the template revision that was instantiated for this project (use --project PATH to override auto-discovery)

USAGE
$ skaff template project-revision [-f json|ndjson|tsv|table] [-h] [--project path]

FLAGS
-f, --format=<option> [default: table] output format
<options: json|ndjson|tsv|table>
-h, --help Show CLI help.
--project=path Path to a project directory to operate on (overrides auto-discovery)

DESCRIPTION
Show the template revision that was instantiated for this project (use --project PATH to override auto-discovery)

See code: src/commands/template/project-revision.ts

skaff template reload

Reload templates from disk and show loaded templates afterwards

USAGE
$ skaff template reload [-f json|ndjson|tsv|table] [-h] [--project path]

FLAGS
-f, --format=<option> [default: table] output format
<options: json|ndjson|tsv|table>
-h, --help Show CLI help.
--project=path Path to a project directory to operate on (overrides auto-discovery)

DESCRIPTION
Reload templates from disk and show loaded templates afterwards

See code: src/commands/template/reload.ts

skaff template revisions TEMPLATENAME

List loaded revisions for a template

USAGE
$ skaff template revisions TEMPLATENAME [-f json|ndjson|tsv|table] [-h] [--project path]

ARGUMENTS
TEMPLATENAME Template name

FLAGS
-f, --format=<option> [default: table] output format
<options: json|ndjson|tsv|table>
-h, --help Show CLI help.
--project=path Path to a project directory to operate on (overrides auto-discovery)

DESCRIPTION
List loaded revisions for a template

See code: src/commands/template/revisions.ts

skaff template show REVISION TEMPLATENAME

Display details for a loaded template revision

USAGE
$ skaff template show REVISION TEMPLATENAME [-f json|ndjson|tsv|table] [-h] [--project path]

ARGUMENTS
REVISION Commit hash (must already be loaded)
TEMPLATENAME Template name

FLAGS
-f, --format=<option> [default: table] output format
<options: json|ndjson|tsv|table>
-h, --help Show CLI help.
--project=path Path to a project directory to operate on (overrides auto-discovery)

DESCRIPTION
Display details for a loaded template revision

See code: src/commands/template/show.ts