// addBroadcastCmdFlags defines common flags to be used in the broadcast command
addBroadcastCmdFlags defines common flags to be used in the broadcast command
// addBroadcastCmdFlags defines common flags to be used in the broadcast command
func addBroadcastCmdFlags(cmd *cobra.Command) {
	cmd.Flags().StringVarP(&flagNode, "node", "n", "", "node address to broadcast too. flag overrides config")
	cmd.Flags().IntVarP(&flagTxIndex, "index", "i", 0, "index of the tx to broadcast")
}
func addBroadcastCmdFlags ( cmd * cobra . Command ) { cmd . Flags ( ) . StringVarP ( & flagNode , " " , " " , " " , " " ) cmd . Flags ( ) . IntVarP ( & flagTxIndex , " " , " " , 0 , " " ) }
addBroadcastCmdFlags defines common flags to be used in the broadcast command
addBroadcastCmdFlags defines common flags to be used in the broadcast command
// broacastCmd.Flags().StringVarP(&flagDescription, "description", "d", "", "description of the tx to be logged")