Add a --arg option to allow variables to be passed from the cmdline.
Closes #107
This commit is contained in:
1 parent
48be23233a
commit
5be97463ec
7 files changed
+46
-6
No files matched your search
@@ -3,8 +3,12 @@
|
||||
#include "bytecode.h"
|
||||
|
||||
|
||||
|
||||
struct bytecode* jq_compile(const char* str);
|
||||
|
||||
/* args must be an array of the form [{name:"foo", value:"thing"}, {name:"bar",value:3}] */
|
||||
struct bytecode* jq_compile_args(const char* str, jv args);
|
||||
|
||||
typedef struct jq_state jq_state;
|
||||
enum {JQ_DEBUG_TRACE = 1};
|
||||
|
||||
|
||||
Reference in new issue
Block a user