@ -34,9 +34,9 @@ class CLI_CMD:
cli_commands = []
def cli_cmd(names=[], description=""):
def cli_cmd(names=None, description=""):
def dec(fn: types.FunctionType):
if len(dec.names) is 0:
if dec.names is None:
dec.names = [fn.__name__]
cli_commands.append(CLI_CMD(fn, dec.names, dec.description))
return fn