The morph template command is used to manipulate template files under the /templates directory.

morph template compile

The morph template compile command compiles the template.yml file in /templates.

If an error occurs during compilation, an error is displayed. In that case, new creation by morph search or morph create will not work, so please troubleshoot first.

The morph template search command searches for template files under the /templates directory.

Options

You can specify options for searching for templates.

  • --name: Filter by template name.
  • --language: Filter by the programming language used in the template.
  • --query: Partial matches can be searched against the name and description of the template.
  • --limit: Specifies the number of search results.
  • --skip: Specifies the number of search results to skip.