func RunAction(c stypes.Client, cmd *types.Action) *types.ActionReturn {
	r, err := dispatchCommand(c, cmd)
	if err != nil {
		return types.NewActionReturn(err)
	}
	return types.NewActionReturn(r)
}
// RunAction takes in a client and a client action, figures out what type of
// action it is (builtin or direct) and routes the arguments to the appropriate
// function.
RunAction takes in a client and a client action, figures out what type of
action it is (builtin or direct) and routes the arguments to the appropriate
function.
// RunAction takes in a client and a client action figures out what type of // action it is ( builtin or direct ) and routes the arguments to the appropriate // function .
func RunAction(c stypes.Client, cmd *types.Action) *types.ActionReturn {
	r, err := dispatchCommand(c, cmd)
	if err != nil {
		return types.NewActionReturn(err)
	}
	return types.NewActionReturn(r)
}
func RunAction ( c stypes . Client , cmd * types . Action ) * types . ActionReturn { r , err := dispatchCommand ( c , cmd ) if err != nil { return types . NewActionReturn ( err ) } return types . NewActionReturn ( r ) }
RunAction takes in a client and a client action, figures out what type of
action it is (builtin or direct) and routes the arguments to the appropriate
function.
RunAction takes in a client and a client action figures out what type of action it is ( builtin or direct ) and routes the arguments to the appropriate function .