From 284c1f08cc6a5ffd509cbb1caa469fae13c9bc94 Mon Sep 17 00:00:00 2001 From: Gaurav Khanna Date: Wed, 29 May 2024 17:35:18 -0700 Subject: [PATCH] fixing error running from npx --- cli/cmd/analyze.go | 2 +- cli/cmd/root.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/cmd/analyze.go b/cli/cmd/analyze.go index c8c66d8..9888036 100644 --- a/cli/cmd/analyze.go +++ b/cli/cmd/analyze.go @@ -32,7 +32,7 @@ func doAnalyzeCmd(cmd *cobra.Command, args []string) { os.Exit(1) } - initLogging() + // initLogging() isCi, ciConfig, err := configureCi() diff --git a/cli/cmd/root.go b/cli/cmd/root.go index e3bfa04..8ee2cbf 100644 --- a/cli/cmd/root.go +++ b/cli/cmd/root.go @@ -31,7 +31,7 @@ var rootCmd = &cobra.Command{ Short: "Docker/OCI Layer Browser", Long: `Use warpdive-cli with https://warpdive.xyz to interactively browse and explore docker/OCI container images.`, Args: cobra.MaximumNArgs(1), - Run: doAnalyzeCmd, + // Run: doAnalyzeCmd, Example: ` # Build an image and push to warpdive.xyz warpdive build .