Add bash/powershell/zsh completions

Was this really necessary? No
Are there more important things to implement? Yes
Do I care? No
This commit is contained in:
comp500
2019-09-18 22:58:46 +01:00
parent 36093f0e2a
commit 7ecf2cd215
3 changed files with 203 additions and 0 deletions

16
utils/utils.go Normal file
View File

@@ -0,0 +1,16 @@
package utils
import (
"github.com/comp500/packwiz/cmd"
"github.com/spf13/cobra"
)
// utilsCmd represents the base command when called without any subcommands
var utilsCmd = &cobra.Command{
Use: "utils",
Short: "Utilities for managing packwiz itself",
}
func init() {
cmd.Add(utilsCmd)
}