Skip to content

Commit ead1123

Browse files
extend api
1 parent 3cb4e5c commit ead1123

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

code/logic/fossil/io/parser.h

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ typedef enum {
2828
FOSSIL_IO_PARSER_FLOAT, // Floating-point argument
2929
FOSSIL_IO_PARSER_DATE, // Date argument
3030
FOSSIL_IO_PARSER_ARRAY, // Array of values
31-
FOSSIL_IO_PARSER_FEATURE // Feature flag
31+
FOSSIL_IO_PARSER_FEATURE, // Feature flag
32+
FOSSIL_IO_PARSER_INVALID // Invalid argument type
3233
} fossil_io_parser_arg_type_t;
3334

3435
// Structure to represent each argument in the command
@@ -57,6 +58,21 @@ typedef struct fossil_io_parser_palette_s {
5758
fossil_io_parser_command_t *commands; // List of commands
5859
} fossil_io_parser_palette_t;
5960

61+
// ==================================================================
62+
// Global Variables
63+
// ==================================================================
64+
65+
extern int FOSSIL_CLI_TOGGLE_DRY_RUN;
66+
extern int FOSSIL_CLI_TOGGLE_VERBOSE;
67+
extern int FOSSIL_CLI_TOGGLE_SANITY;
68+
69+
extern char *FOSSIL_CLI_TOOL_NAME;
70+
extern char *FOSSIL_CLI_TOOL_VERSION;
71+
extern char *FOSSIL_CLI_TOOL_AUTHOR;
72+
extern char *FOSSIL_CLI_TOOL_LICENSE;
73+
extern char *FOSSIL_CLI_TOOL_DESCRIPTION;
74+
extern char *FOSSIL_CLI_TOOL_WEBSITE;
75+
6076
// ==================================================================
6177
// Functions
6278
// ==================================================================

0 commit comments

Comments
 (0)