4 dffcd78a 2021-07-15 op print "#include \"telescope.h\""
5 dffcd78a 2021-07-15 op print "#include \"cmd.h\""
6 a3666ed5 2021-06-25 op print "struct cmd cmds[] = {";
11 411fb0a2 2021-07-15 op sub("^cmd_", "", s);
12 411fb0a2 2021-07-15 op gsub("_", "-", s);
13 411fb0a2 2021-07-15 op printf("\t{ \"%s\", %s },\n", s, $2);
20 afc1045c 2021-04-30 op printf("\t{ \"%s\", %s },\n", s, d);
29 870210fb 2021-03-26 op printf("\t{ NULL, NULL },\n");