diff options
Diffstat (limited to 'lib/tasks/gitlab/snowplow.rake')
-rw-r--r-- | lib/tasks/gitlab/snowplow.rake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/snowplow.rake b/lib/tasks/gitlab/snowplow.rake new file mode 100644 index 00000000000..278ba4a471c --- /dev/null +++ b/lib/tasks/gitlab/snowplow.rake @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +namespace :gitlab do + namespace :snowplow do + desc 'GitLab | Snowplow | Generate event dictionary' + task generate_event_dictionary: :environment do + items = Gitlab::Tracking::EventDefinition.definitions + Gitlab::Tracking::Docs::Renderer.new(items).write + end + end +end |