DT
Drizzle Team•15mo ago
whatplan

`tablesFilter` cli arg "unknown option"

from the 'help' message
--tablesFilter Table name filters
--tablesFilter Table name filters
but I can't seem to figure out how to use it
error: unknown option '--tablesFilter=!libsql_wasm_func_table'
error: "drizzle-kit" exited with code 1 (SIGHUP)
error: unknown option '--tablesFilter=!libsql_wasm_func_table'
error: "drizzle-kit" exited with code 1 (SIGHUP)
error: unknown option '--tablesFilter="!libsql_wasm_func_table"'
error: "drizzle-kit" exited with code 1 (SIGHUP)
error: unknown option '--tablesFilter="!libsql_wasm_func_table"'
error: "drizzle-kit" exited with code 1 (SIGHUP)
error: unknown option '--tablesFilter "!libsql_wasm_func_table"'
error: "drizzle-kit" exited with code 1 (SIGHUP)
error: unknown option '--tablesFilter "!libsql_wasm_func_table"'
error: "drizzle-kit" exited with code 1 (SIGHUP)
error: unknown option '--tablesFilter !libsql_wasm_func_table'
error: "drizzle-kit" exited with code 1 (SIGHUP)
error: unknown option '--tablesFilter !libsql_wasm_func_table'
error: "drizzle-kit" exited with code 1 (SIGHUP)
any help greatly appriciated thank you
11 Replies
Andrii Sherman
Andrii Sherman•15mo ago
👀 let me check it I have just started looking through all the new questions in the help section. Thanks for pinging me
whatplan
whatplanOP•15mo ago
no worries thanks again
Andrii Sherman
Andrii Sherman•15mo ago
it's push:sqlite?
whatplan
whatplanOP•15mo ago
yes
const command = [
"bunx",
"drizzle-kit",
"push:sqlite",
"--driver=turso",
"--tablesFilter=!libsql_wasm_func_table",
`--schema=${schemaPath}`,
`--url=${url}`,
`--authToken=${authToken}`,
]
const command = [
"bunx",
"drizzle-kit",
"push:sqlite",
"--driver=turso",
"--tablesFilter=!libsql_wasm_func_table",
`--schema=${schemaPath}`,
`--url=${url}`,
`--authToken=${authToken}`,
]
Andrii Sherman
Andrii Sherman•15mo ago
okey, it's a bug really small one, but a bug
Andrii Sherman
Andrii Sherman•15mo ago
No description
Andrii Sherman
Andrii Sherman•15mo ago
I didn't add <tableFilters> to .option() so it's not saving to a variable that's why will only work from config now I'm preparing kit for a new release, so can include this one as well
whatplan
whatplanOP•15mo ago
for now ive just been writing a temporary config file works fine
Andrii Sherman
Andrii Sherman•15mo ago
good, thanks for spotting that I guess you are a first person to use cli options so far @whatplan if you want we can create a private channel with you, so you can ask us questions directly and not wait in help chats
whatplan
whatplanOP•15mo ago
I appreciate the offer but I dont think its necessary
Andrii Sherman
Andrii Sherman•15mo ago
Good, you're just building something great, and we are open to helping creators. Your questions may be lost for a while here, just because I may not have free time on some days to answer all of them. Anyway, if you change your mind, just ping me
Want results from more Discord servers?
Add your server