5 CD_TYPE_OLDINPUT =
"RZ_CMD_DESC_TYPE_OLDINPUT"
6 CD_TYPE_GROUP =
"RZ_CMD_DESC_TYPE_GROUP"
7 CD_TYPE_ARGV =
"RZ_CMD_DESC_TYPE_ARGV"
8 CD_TYPE_ARGV_MODES =
"RZ_CMD_DESC_TYPE_ARGV_MODES"
9 CD_TYPE_ARGV_STATE =
"RZ_CMD_DESC_TYPE_ARGV_STATE"
10 CD_TYPE_FAKE =
"RZ_CMD_DESC_TYPE_FAKE"
11 CD_TYPE_INNER =
"RZ_CMD_DESC_TYPE_INNER"
24 "RZ_CMD_ARG_TYPE_RZNUM",
25 "RZ_CMD_ARG_TYPE_STRING",
26 "RZ_CMD_ARG_TYPE_CMD",
34 name = name.translate(
57 if name.startswith(
"_"):
64 if ty == CD_TYPE_OLDINPUT:
65 return "rz_" + (handler
or cname)
67 return "rz_" + (handler
or cname) +
"_handler"
def get_handler_cname(ty, handler, cname)