rsteube f189ba0118 optimized release build
- update go:generate to patch init() functions to only be called for
  relevant completer
- added `release` build tag
- updated goreleaser to use the `release` tag
- fixed special `_{suffix}.go` files (still needs general
  solution/linter)
- still very messy but works for now
2021-08-29 14:46:41 +02:00

20 lines
388 B
Go

package cmd
import (
"github.com/rsteube/carapace"
"github.com/spf13/cobra"
)
var pub_testCmd = &cobra.Command{
Use: "test",
Short: "Run the test package",
Run: func(cmd *cobra.Command, args []string) {},
}
func init() {
carapace.Gen(pub_testCmd).Standalone()
pub_testCmd.Flags().BoolP("help", "h", false, "Print this usage information.")
pubCmd.AddCommand(pub_testCmd)
}