// addSignCmdFlags defines common flags to be used in the sign command
addSignCmdFlags defines common flags to be used in the sign command
// addSignCmdFlags defines common flags to be used in the sign command
func addSignCmdFlags(cmd *cobra.Command) {
	cmd.Flags().IntVarP(&flagTxIndex, "index", "i", 0, "index of the tx to sign")
	cmd.Flags().StringVarP(&flagFrom, "from", "f", "", "name of your local key to sign with")
	cmd.MarkFlagRequired("from")
}
func addSignCmdFlags ( cmd * cobra . Command ) { cmd . Flags ( ) . IntVarP ( & flagTxIndex , " " , " " , 0 , " " ) cmd . Flags ( ) . StringVarP ( & flagFrom , " " , " " , " " , " " ) cmd . MarkFlagRequired ( " " ) }
addSignCmdFlags defines common flags to be used in the sign command
addSignCmdFlags defines common flags to be used in the sign command