Skip to content

Commit 32a7092

Browse files
author
Mariya Pershina
committed
Initial draft
1 parent b940db4 commit 32a7092

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

docs/cli-guide/master.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ include::topics/mta-cli-run.adoc[leveloffset=+2]
4343
// Analyze application source code
4444
include::topics/mta-cli-analyze.adoc[leveloffset=+3]
4545

46+
// Select language providers for the multi-application analysis
47+
include::topics/proc_selecting-language-providers-for-analysis.adoc[leveloffset=+3]
48+
4649
// Transform XML rules to YAML
4750
include::topics/mta-cli-transform.adoc[leveloffset=+3]
4851

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
:_newdoc-version: 2.18.3
2+
:_template-generated: 2024-07-25
3+
:_mod-docs-content-type: PROCEDURE
4+
5+
[id="selecting-language-providers-for-analysis_{context}"]
6+
= Selecting language providers for the multi-language application analysis
7+
8+
When analyzing a multi-language application, you can explicitly set one or more supported language providers to run the analysis for.
9+
10+
.Prerequisites
11+
12+
*
13+
14+
.Procedure
15+
16+
. List language providers supported for the analysis:
17+
+
18+
[source,terminal,subs="attributes+"]
19+
----
20+
{mta-cli} analyze --list-providers
21+
----
22+
23+
. Set one or more language providers to run the analysis on:
24+
+
25+
[source,terminal,subs="attributes+"]
26+
----
27+
{mta-cli} analyze --input <path_to_the_source_repository> --output <path_to_the_output_directory> --provider <language_provider> --rules <path_to_custom_rules>
28+
----
29+
+
30+
Note that if you do not set the `--provider` option, the analysis fails because it detects unsupported providers.

0 commit comments

Comments
 (0)