Export Code Generation Templates (Obsolete) ======================== Exports `T4 `_ code generation templates to a specified directory. These templates can be used with Visual Studio, Rider, Visual Studio Code with plugin, ``dotnet`` `tool `_ or other tools to generate source code. .. warning:: This command will be removed in future versions. Download templates directly from the `repository `_. - :ref:`CLI Installation ` - :ref:`Commands Reference ` - :doc:`Universal Parameters ` - :doc:`URL-based Input/Output ` --------------- Command --------------- .. code-block:: bash # Windows charon GENERATE TEMPLATES --outputDirectory "c:\templates" --------------- Parameters --------------- --outputDirectory Specifies the path where the templates should be written. It can be either an absolute or relative path to a directory. The specified directory must already be present. .. code-block:: bash # Windows --outputDirectory "c:\templates" # Linux or OSX --outputDirectory "~/templates" # Relative path --outputDirectory "./templates" See also -------- - :doc:`Generating Source Code <../generating_source_code>` - :doc:`GENERATE CSHARPCODE ` - :doc:`GENERATE TYPESCRIPTCODE ` - :doc:`GENERATE UECPPCODE ` - `T4 Text Templates `_