-D flag changed to -l flag. It now expects a string. (DEBUG, INFO etc)

-v flag now prints the cli version

new flag -e prints extra console info

new flag -f, prevents the CLI from splitting strings on spaces. This allows users to pass string requests containing spaces (setting devices, naming channel labels etc)
This commit is contained in:
2025-12-02 02:09:25 +00:00
parent 12522667d3
commit ca15785789
3 changed files with 69 additions and 26 deletions

View File

@@ -15,6 +15,7 @@ struct quickcommand
};
void remove_last_part_of_path(char *fullpath);
int log_level_from_string(const char *level);
char *kind_as_string(char *s, int kind, int n);
char *version_as_string(char *s, long v, int n);
bool is_comment(char *s);