4 a3666ed5 2021-06-25 op print "#include <telescope.h>"
5 a3666ed5 2021-06-25 op print "#include <cmd.h>"
6 a3666ed5 2021-06-25 op print "struct cmd cmds[] = {";
11 870210fb 2021-03-26 op sub("^cmd_", "", s);
12 870210fb 2021-03-26 op gsub("_", "-", s);
13 870210fb 2021-03-26 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");