Emitter usage
Usage
- Via the command line
tsp compile . --emit=@azure-tools/typespec-client-generator-core- Via the config
emit: - "@azure-tools/typespec-client-generator-core"The config can be extended with options as follows:
emit: - "@azure-tools/typespec-client-generator-core"options: "@azure-tools/typespec-client-generator-core": option: valueEmitter options
generate-protocol-methods
Type: boolean
generate-convenience-methods
Type: boolean
package-name
Type: string
flatten-union-as-enum
Type: boolean
api-version
Type: string
examples-directory
Type: string
examples-dir
Type: string
emitter-name
Type: string