@staticmethod
def ConvertToCommandName(func_name):
    """
        Converts a function name to a command name:
            - lower-case
            - dashes separates words

        The command name is used as the argument from the command line.

        Ex.
            CreateDb -> create-db

        :param unicode func_name:
            The function name, using camel cases standard.

        :return unicode:
        """
    import re
    s1 = re.sub('(.)([A-Z][a-z]+)', '\\1-\\2', func_name)
    return re.sub('([a-z0-9])([A-Z])', '\\1-\\2', s1).lower()
