etcdctl/ctlv3/command/alarm_command.go
func NewAlarmCommand() *cobra.Command {
	ac := &cobra.Command{
		Use:   "alarm <subcommand>",
		Short: "Alarm related commands",
	}

	ac.AddCommand(NewAlarmDisarmCommand())
	ac.AddCommand(NewAlarmListCommand())

	return ac
}
func NewAlarmCommand() *cobra.Command {
	ac := &cobra.Command{
		Use:   "alarm <subcommand>",
		Short: "Alarm related commands",
	}

	ac.AddCommand(NewAlarmDisarmCommand())
	ac.AddCommand(NewAlarmListCommand())

	return ac
}
func NewAlarmCommand ( ) * cobra . Command { ac := & cobra . Command { Use : " " , Short : " " , } ac . AddCommand ( NewAlarmDisarmCommand ( ) ) ac . AddCommand ( NewAlarmListCommand ( ) ) return ac }
// NewAlarmCommand returns the cobra command for "alarm".
NewAlarmCommand returns the cobra command for alarm .