mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-13 09:15:43 -04:00

find -name '*.go' -exec sed -i 's/SPDX-License-Identifier: AGPL-3.0-only/SPDX-License-Identifier: BUSL-1.1/' {} +
28 lines
512 B
Go
28 lines
512 B
Go
/*
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func newRootCmd() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "loco",
|
|
Short: "Constellation logcollection client",
|
|
Long: `LoCo is the Constellation LOgCOllection client.
|
|
It prepares filebeat and logstash configurations for deployment.`,
|
|
}
|
|
|
|
cmd.AddCommand(newTemplateCmd())
|
|
|
|
return cmd
|
|
}
|
|
|
|
// Execute starts the CLI.
|
|
func Execute() error {
|
|
return newRootCmd().Execute()
|
|
}
|