File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 55import click
66import typer
77
8+ from cycode .cli .apps .activation_manager import report_cli_activation , should_report_cli_activation
89from cycode .cli .apps .sca_options import (
910 GradleAllSubProjectsOption ,
1011 MavenSettingsFileOption ,
@@ -140,6 +141,11 @@ def scan_command(
140141 scan_client = get_scan_cycode_client (ctx )
141142 ctx .obj ['client' ] = scan_client
142143
144+ plugin_app_name = ctx .obj .get ('plugin_app_name' )
145+ plugin_app_version = ctx .obj .get ('plugin_app_version' )
146+ if should_report_cli_activation (plugin_app_name , plugin_app_version ):
147+ report_cli_activation (scan_client .scan_cycode_client , plugin_app_name , plugin_app_version )
148+
143149 # Get remote URL from current working directory
144150 remote_url = _try_get_git_remote_url (os .getcwd ())
145151
You can’t perform that action at this time.
0 commit comments