lburgazzoli commented on a change in pull request #1777:
URL: https://github.com/apache/camel-k/pull/1777#discussion_r514200232



##########
File path: pkg/cmd/inspect.go
##########
@@ -32,20 +36,30 @@ import (
        "github.com/spf13/cobra"
 )
 
+var acceptedDependencyTypes = []string{"bom", "camel", "camel-k", 
"camel-quarkus", "mvn", "github"}
+
+const defaultDependenciesDirectoryName = "dependencies"
+
 func newCmdInspect(rootCmdOptions *RootCmdOptions) (*cobra.Command, 
*inspectCmdOptions) {
        options := inspectCmdOptions{
                RootCmdOptions: rootCmdOptions,
        }
 
        cmd := cobra.Command{
-               Use:     "inspect [files to inspect]",
-               Short:   "Generate dependencies list the given integration 
files.",
-               Long:    `Compute and emit the dependencies for a list of 
integration files.`,
+               Use:   "inspect [files to inspect]",
+               Short: "Generate dependencies list given integration files.",
+               Long: `Output dependencies for a list of integration files. By 
default this command returns the
+top level dependencies only. When --all-dependencies is enabled, the 
transitive dependencies
+will be generated by calling Maven and then copied into the directory pointed 
to by the
+--dependencies-directory flag.`,

Review comment:
       I'm not very sure about this. Would be useful to just get the list of 
dependencies without having to copy them on a folder ?
   
   @nicolaferraro what do you think ? 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to