@@ -17,7 +17,7 @@ Extracting the list of dependencies from compiled Java binaries is not always po
17
17
18
18
[source,terminal,subs="attributes+"]
19
19
----
20
- {mta-cli} analyze --input= <path_to_source_code> --output= <path_to_output_directory>
20
+ {mta-cli} analyze --input <path_to_source_code> --output <path_to_output_directory>
21
21
----
22
22
23
23
All flags:
50
50
--jaeger-endpoint (string) Jaeger endpoint to collect traces.
51
51
--json-output Create analysis and dependency
52
52
output as JSON.
53
+ --list-languages List all langauges in the source
54
+ application. This flag is not
55
+ supported for binary applications.
53
56
--list-sources List available migration sources.
54
57
--list-targets List available migration targets.
55
58
-l, --label-selector (string) Run rules based on specified label
@@ -103,17 +106,24 @@ The list of flags above does not include the `--bulk` flag because this flag is
103
106
.Usage example
104
107
105
108
. Get an example application to run analysis on.
109
+ . List all languages in the source application:
110
+ +
111
+ [source,terminal,subs="attributes+"]
112
+ ----
113
+ $ {mta-cli} analyze -- input <path _to_application > -- list-languages
114
+ ----
115
+ +
106
116
. List available target technologies.
107
117
+
108
118
[source,terminal,subs="attributes+"]
109
119
----
110
- {mta-cli} analyze -- list-targets
120
+ $ {mta-cli} analyze -- list-targets
111
121
----
112
122
. Run an analysis with a specified target technology, for example `cloud-readiness` .
113
123
+
114
124
[source,terminal,subs="attributes+"]
115
125
----
116
- {mta-cli} analyze -- input= <path-to /example-applications /example-1 > -- output= <path-to-output-dir > -- target= cloud-readiness
126
+ $ {mta-cli} analyze -- input <path-to /example-applications /example-1 > -- output <path-to-output-dir > -- target cloud-readiness
117
127
----
118
128
. Several analysis reports are created in your specified output path:
119
129
+
0 commit comments