Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
lloesche committed May 3, 2024
1 parent 54238b6 commit 8fad4b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var (
Use: "fixctl",
Short: "fixctl is the Fix Security CLI tool",
Long: `fixctl allows you to search the Fix Security Graph and export cloud inventory data for further processing.`,
Run: executeMainLogic,
Run: executeSearch,
}

apiEndpoint string
Expand Down Expand Up @@ -60,7 +60,7 @@ func initConfig() {
}
}

func executeMainLogic(cmd *cobra.Command, args []string) {
func executeSearch(cmd *cobra.Command, args []string) {
invalidArgs := false
username, password, err := utils.SanitizeCredentials(viper.GetString("username"), viper.GetString("password"))
if err != nil {
Expand Down

0 comments on commit 8fad4b2

Please sign in to comment.