diff --git a/.gitignore b/.gitignore index 9e520f4c..55963d92 100644 --- a/.gitignore +++ b/.gitignore @@ -21,5 +21,4 @@ test/resolve/testdata/nuget/obj test/resolve/testdata/nuget/**/obj debricked.fingerprints.wfp test/resolve/testdata/gomod/gomod.debricked.lock -.debricked.fingerprints.wfp /mvnproj/target diff --git a/internal/cmd/callgraph/callgraph.go b/internal/cmd/callgraph/callgraph.go index fc25649f..e7605520 100644 --- a/internal/cmd/callgraph/callgraph.go +++ b/internal/cmd/callgraph/callgraph.go @@ -53,6 +53,8 @@ Special Terms | Meaning "[class]" | matches any single non-Separator character against a class of characters ([see "character classes"]) "{alt1,...}" | matches a sequence of characters if one of the comma-separated alternatives matches +Exclude flags could alternatively be set using DEBRICKED_EXCLUSIONS="path1,path2,path3". + Example: $ debricked files resolve . `+exampleFlags) cmd.Flags().BoolVar(&buildDisabled, NoBuildFlag, false, `Do not automatically build all source code in the project to enable call graph generation. @@ -75,7 +77,6 @@ func RunE(callgraph callgraph.IGenerator) func(_ *cobra.Command, args []string) } err := callgraph.GenerateWithTimer(args, viper.GetStringSlice(ExclusionFlag), configs, viper.GetInt(GenerateTimeoutFlag)) - // err := callgraph.Generate(args, viper.GetStringSlice(ExclusionFlag), configs, nil) return err }