Changed command schema build to schema init
This commit is contained in:
parent
cda2ee16a8
commit
8c8b10ef2a
@ -74,7 +74,7 @@ pub fn main() !void {
|
|||||||
\\ content: str,
|
\\ content: str,
|
||||||
\\)
|
\\)
|
||||||
}),
|
}),
|
||||||
.keyword_build => { // Maybe rename that in init now that I dont build binary anymore
|
.keyword_init => { // Maybe rename that in init now that I dont build binary anymore
|
||||||
const data_engine = DataEngine.init(allocator, null);
|
const data_engine = DataEngine.init(allocator, null);
|
||||||
try data_engine.initDataFolder();
|
try data_engine.initDataFolder();
|
||||||
},
|
},
|
||||||
|
@ -14,7 +14,7 @@ pub const Token = struct {
|
|||||||
.{ "run", .keyword_run },
|
.{ "run", .keyword_run },
|
||||||
.{ "help", .keyword_help },
|
.{ "help", .keyword_help },
|
||||||
.{ "describe", .keyword_describe },
|
.{ "describe", .keyword_describe },
|
||||||
.{ "build", .keyword_build },
|
.{ "init", .keyword_init },
|
||||||
.{ "schema", .keyword_schema },
|
.{ "schema", .keyword_schema },
|
||||||
.{ "quit", .keyword_quit },
|
.{ "quit", .keyword_quit },
|
||||||
});
|
});
|
||||||
@ -31,7 +31,7 @@ pub const Token = struct {
|
|||||||
keyword_help,
|
keyword_help,
|
||||||
keyword_describe,
|
keyword_describe,
|
||||||
keyword_schema,
|
keyword_schema,
|
||||||
keyword_build,
|
keyword_init,
|
||||||
keyword_quit,
|
keyword_quit,
|
||||||
|
|
||||||
string_literal,
|
string_literal,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user