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.
Command
# 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.
# Windows --outputDirectory "c:\templates" # Linux or OSX --outputDirectory "~/templates" # Relative path --outputDirectory "./templates"