//go:build windows12package cmd34import (5"github.com/spf13/cobra"6)78// StopCmd represents the stop command9var StopCmd = &cobra.Command{10Use: "stop",11Short: "Same as the kill command",12Run: func(cmd *cobra.Command, args []string) {13stop()14},15}1617func stop() {18kill()19}2021func init() {22RootCmd.AddCommand(StopCmd)2324// Here you will define your flags and configuration settings.2526// Cobra supports Persistent Flags which will work for this command27// and all subcommands, e.g.:28// stopCmd.PersistentFlags().String("foo", "", "A help for foo")2930// Cobra supports local flags which will only run when this command31// is called directly, e.g.:32// stopCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")33}343536