CLI · command group
socotra template
Five subcommands for managing project templates.
template add <source>
Fetch a template and add it to your project.
Arguments
Options
Examples
socotra template add github:myorg/templates/module
socotra template add ./my-templates/custom-api
socotra template add github:myorg/templates/module --globaltemplate list
Display a table of Name, Source, Files, Fetched, Version, and Scope.
socotra template listtemplate update <name>
Re-fetch a template from its original source and update it in your project.
socotra template update base-entitytemplate remove <name>
Remove a template from your project.
socotra template remove base-entity
socotra template remove old-template --forcetemplate export <name>
Copy a built-in template to your project for customization. Exported templates take priority over the built-in version.
socotra template export base-entity
socotra template export result-pattern --globalSchema 1.1 · CLI 1.0