'Args:
command(str): a command to execute. Use format string with stat
names as keys.
names(list or str): data name(s) to use.
Example:
Send the stats to your phone through pushbullet:
.. code-block:: python
SendMonitorData(\'curl -u your_id: https://api.pushbullet.com/v2/pushes \
-d type=note -d title="validation error" \
-d body={validation_error} > /dev/null 2>&1\',
\'validation_error\')'

def __init__(self, command, names):

    self.command = command
    if (not isinstance(names, list)):
        names = [names]
    self.names = names
    self.dic = {}
