Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
// 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/chart"
"github.com/alexellis/arkade/cmd/system"
"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(chart.MakeChart())
rootCmd.AddCommand(system.MakeSystem())
if err := rootCmd.Execute(); err != nil {
os.Exit(1)
}
}