dev-tools/v2tool/main.go (13 lines of code) (raw):

// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one // or more contributor license agreements. Licensed under the Elastic License; // you may not use this file except in compliance with the Elastic License. package main import ( "fmt" "os" "github.com/elastic/elastic-agent-client/v7/dev-tools/v2tool/cmd" ) func main() { command := cmd.NewCommand() if err := command.Execute(); err != nil { fmt.Fprintf(os.Stderr, "%v\n", err) os.Exit(1) } }