Releases: trafi/mammoth-kt
Releases · trafi/mammoth-kt
2.2
- #5 Support customization of output class name and schema metadata inclusion
- new CLI parameter
--output-class-name
specifies generated class name - new CLI parameter
--no-schema-metadata
specifies not to include schema metadata in generated event parameters - support Mammoth event schemas without an
event_type
parameter — nopublish
events will be generated in such cases - code is generated with trailing commas
- new CLI parameter
- #7 Update dependencies
2.1
2.0
1.1
1.0
- generate
object AnalyticsEvent
with aRawEvent
generating function for each event in the schema - default
screen_name
andprevious_screen_name
parameters toAnalytics.screenName
- default
modal_name
parameters toAnalytics.modalName
- support the following arguments
--project
mammoth project id (e.g.whitelabel
)--version
mammoth schema version--output-path
generated code output path--output-filename
generated code output filename