1
0
mirror of https://github.com/alexellis/arkade.git synced 2022-05-07 18:22:49 +03:00
Files
arkade-kubernetes/main.go
Alex Ellis (OpenFaaS Ltd) be5a8cc594 Update thanks message to support message
Adds a message to downloads and K8s apps to show how to
support arkade.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2022-04-11 09:30:13 +01:00

43 lines
1.0 KiB
Go

// Copyright (c) arkade author(s) 2022. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package main
import (
"os"
"github.com/alexellis/arkade/cmd"
"github.com/alexellis/arkade/cmd/kasten"
"github.com/alexellis/arkade/cmd/system"
"github.com/alexellis/arkade/cmd/venafi"
"github.com/spf13/cobra"
)
func main() {
printarkadeASCIIArt := cmd.PrintArkadeASCIIArt
var rootCmd = &cobra.Command{
Use: "arkade",
Run: func(cmd *cobra.Command, args []string) {
printarkadeASCIIArt()
cmd.Help()
},
}
rootCmd.AddCommand(cmd.MakeInstall())
rootCmd.AddCommand(cmd.MakeVersion())
rootCmd.AddCommand(cmd.MakeInfo())
rootCmd.AddCommand(cmd.MakeUpdate())
rootCmd.AddCommand(cmd.MakeGet())
rootCmd.AddCommand(cmd.MakeUninstall())
rootCmd.AddCommand(cmd.MakeShellCompletion())
rootCmd.AddCommand(venafi.MakeVenafi())
rootCmd.AddCommand(kasten.MakeK10())
rootCmd.AddCommand(system.MakeSystem())
if err := rootCmd.Execute(); err != nil {
os.Exit(1)
}
}